Class TemplateDao

java.lang.Object
org.eso.ias.cdb.pojos.TemplateDao

@Entity public class TemplateDao extends Object
The DAO for the template needed to support replication of identical devices.
Author:
acaproni
  • Constructor Details

    • TemplateDao

      public TemplateDao()
      Empty constructor
    • TemplateDao

      public TemplateDao(String id, int min, int max)
      Constructor
      Parameters:
      id - The not null nor empty identifier of the template
      min - The minimal index of replicated devices, inclusive
      max - The maximal index of replicated devices, inclusive
  • Method Details

    • getId

      public String getId()
    • setId

      public void setId(String id)
    • getMin

      public int getMin()
    • setMin

      public void setMin(int min)
    • getMax

      public int getMax()
    • setMax

      public void setMax(int max)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object