Class BasicAlarmProperty<T>
- java.lang.Object
- 
- com.inductiveautomation.ignition.common.alarming.config.BasicAlarmProperty<T>
 
- 
- All Implemented Interfaces:
- AlarmProperty<T>,- DescriptiveProperty<T>,- Property<T>,- java.io.Serializable
 
 public class BasicAlarmProperty<T> extends java.lang.Object implements AlarmProperty<T> - See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description BasicAlarmProperty()BasicAlarmProperty(AlarmProperty<T> base, java.lang.String displayKey)BasicAlarmProperty(java.lang.String name, java.lang.Class<? extends T> type, T defaultVal, java.lang.String displayKey, java.lang.String categoryKey, java.lang.String descKey, boolean bindable, boolean advanced)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)LocalizedStringgetCategory()The category under which this property will be placed when editing.java.lang.StringgetCategoryKey()TgetDefaultVal()TgetDefaultValue()The default value for new instances of this property, or null if not applicable.java.lang.StringgetDescKey()LocalizedStringgetDescription()Optional description/documentation for the property.java.lang.StringgetDisplayKey()LocalizedStringgetDisplayName()A friendly display name for the property.java.lang.StringgetName()The "name" of this property.java.lang.Class<? extends T>getType()The data type for this property.inthashCode()booleanisAdvanced()Indicates whether this property should not be shown on basic edit screens.booleanisBindable()Indicates whether this property is allowed to be bound.voidsetAdvanced(boolean advanced)voidsetBindable(boolean bindable)voidsetCategoryKey(java.lang.String categoryKey)voidsetDefaultVal(T defaultVal)voidsetDescKey(java.lang.String descKey)voidsetDisplayKey(java.lang.String displayKey)voidsetName(java.lang.String name)voidsetType(java.lang.Class<? extends T> type)java.lang.StringtoString()
 
- 
- 
- 
Constructor Detail- 
BasicAlarmPropertypublic BasicAlarmProperty() 
 - 
BasicAlarmPropertypublic BasicAlarmProperty(AlarmProperty<T> base, java.lang.String displayKey) 
 
- 
 - 
Method Detail- 
getDefaultValpublic T getDefaultVal() 
 - 
setDefaultValpublic void setDefaultVal(T defaultVal) 
 - 
setTypepublic void setType(java.lang.Class<? extends T> type) 
 - 
setNamepublic void setName(java.lang.String name) 
 - 
setDisplayKeypublic void setDisplayKey(java.lang.String displayKey) 
 - 
setCategoryKeypublic void setCategoryKey(java.lang.String categoryKey) 
 - 
setDescKeypublic void setDescKey(java.lang.String descKey) 
 - 
setBindablepublic void setBindable(boolean bindable) 
 - 
setAdvancedpublic void setAdvanced(boolean advanced) 
 - 
getTypepublic java.lang.Class<? extends T> getType() Description copied from interface:PropertyThe data type for this property.
 - 
getDefaultValuepublic T getDefaultValue() Description copied from interface:PropertyThe default value for new instances of this property, or null if not applicable.- Specified by:
- getDefaultValuein interface- Property<T>
 
 - 
getNamepublic java.lang.String getName() Description copied from interface:PropertyThe "name" of this property. Should be descriptive, but also unique. To this end, it is encouraged to make your keys fully qualified by prefixing them with your module id. For example: "mymod.MyProperty". Properties defined by the system start with "sys."
 - 
getDisplayNamepublic LocalizedString getDisplayName() Description copied from interface:DescriptivePropertyA friendly display name for the property. If not set, will return a raw LocalizedString that contains the property name.- Specified by:
- getDisplayNamein interface- DescriptiveProperty<T>
 
 - 
getDisplayKeypublic java.lang.String getDisplayKey() 
 - 
getCategorypublic LocalizedString getCategory() Description copied from interface:DescriptivePropertyThe category under which this property will be placed when editing.- Specified by:
- getCategoryin interface- DescriptiveProperty<T>
 
 - 
getCategoryKeypublic java.lang.String getCategoryKey() 
 - 
getDescriptionpublic LocalizedString getDescription() Description copied from interface:DescriptivePropertyOptional description/documentation for the property. May return null if no information is available.- Specified by:
- getDescriptionin interface- DescriptiveProperty<T>
 
 - 
getDescKeypublic java.lang.String getDescKey() 
 - 
isBindablepublic boolean isBindable() Description copied from interface:AlarmPropertyIndicates whether this property is allowed to be bound. If not, only simple values are allowed.- Specified by:
- isBindablein interface- AlarmProperty<T>
 
 - 
isAdvancedpublic boolean isAdvanced() Description copied from interface:AlarmPropertyIndicates whether this property should not be shown on basic edit screens.- Specified by:
- isAdvancedin interface- AlarmProperty<T>
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-