Package org.eso.ias.cdb.pojos
Class IasioDao
java.lang.Object
org.eso.ias.cdb.pojos.IasioDao
The pojo for the IASIO
- Author:
- acaproni
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanThe default value for autoAck: by default no alarms can be automatically acknowledgedstatic final booleanThe default value for canShelve: by default no alarms can be shelved -
Constructor Summary
ConstructorsConstructorDescriptionIasioDao()Empty constructorIasioDao(String id, String descr, IasTypeDao type, String docUrl) Constructor with default canShelveIasioDao(String id, String descr, IasTypeDao type, String docUrl, boolean canShelve, String templateId, SoundTypeDao sound, String emails) Constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()getSound()inthashCode()booleanbooleanvoidsetAutoAck(boolean autoAck) voidsetCanShelve(boolean canShelve) voidvoidvoidsetIasType(IasTypeDao iasType) voidvoidsetShortDesc(String shortDesc) voidsetSound(SoundTypeDao sound) voidsetTemplateId(String templateId) toString()
-
Field Details
-
canSheveDefault
public static final boolean canSheveDefaultThe default value for canShelve: by default no alarms can be shelved- See Also:
-
autoAckDefault
public static final boolean autoAckDefaultThe default value for autoAck: by default no alarms can be automatically acknowledged- See Also:
-
-
Constructor Details
-
IasioDao
public IasioDao()Empty constructor -
IasioDao
Constructor with default canShelve- Parameters:
id- The identifierdescr- The descriptiontype- The IAS typedocUrl- 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 identifierdescr- The descriptiontype- The IAS typedocUrl- the URL of the documentationcanShelve-trueif this IASIO can be shelved,falseotherwisetemplateId- the Id of the template for replicationsound- the sound to play when an alarm is setemails- the emails to notify when an alarm is SET or CLEARED
-
-
Method Details
-
getId
-
setId
-
getShortDesc
-
setShortDesc
-
getIasType
-
setIasType
-
toString
-
equals
-
hashCode
public int hashCode() -
getDocUrl
-
setDocUrl
-
isCanShelve
public boolean isCanShelve() -
isAutoAck
public boolean isAutoAck() -
setCanShelve
public void setCanShelve(boolean canShelve) -
setAutoAck
public void setAutoAck(boolean autoAck) -
getTemplateId
-
setTemplateId
-
getSound
-
setSound
-
getEmails
-
setEmails
-