Class IasioDao

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

@Entity public class IasioDao extends Object
The pojo for the IASIO
Author:
acaproni
  • Field Details

    • canSheveDefault

      public static final boolean canSheveDefault
      The default value for canShelve: by default no alarms can be shelved
      See Also:
  • Constructor Details

    • IasioDao

      public IasioDao()
      Empty constructor
    • IasioDao

      public IasioDao(String id, String descr, IasTypeDao type, String docUrl)
      Constructor with default canShelve
      Parameters:
      id - The identifier
      descr - The description
      type - The IAS type
      docUrl - the URL of the documentation
    • IasioDao

      public IasioDao(String id, String descr, IasTypeDao type, String docUrl, boolean canShelve, String templateId, SoundTypeDao sound, String emails)
      Constructor
      Parameters:
      id - The identifier
      descr - The description
      type - The IAS type
      docUrl - the URL of the documentation
      canShelve - true if this IASIO can be shelved, false otherwise
      templateId - the Id of the template for replication
      sound - the sound to play when an alarm is set
      emails - the emails to notify when an alarm is SET or CLEARED
  • Method Details

    • getId

      public String getId()
    • setId

      public void setId(String id)
    • getShortDesc

      public String getShortDesc()
    • setShortDesc

      public void setShortDesc(String shortDesc)
    • getIasType

      public IasTypeDao getIasType()
    • setIasType

      public void setIasType(IasTypeDao iasType)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

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

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

      public String getDocUrl()
    • setDocUrl

      public void setDocUrl(String docUrl)
    • isCanShelve

      public boolean isCanShelve()
    • setCanShelve

      public void setCanShelve(boolean canShelve)
    • getTemplateId

      public String getTemplateId()
    • setTemplateId

      public void setTemplateId(String templateId)
    • getSound

      public SoundTypeDao getSound()
    • setSound

      public void setSound(SoundTypeDao sound)
    • getEmails

      public String getEmails()
    • setEmails

      public void setEmails(String emails)