Class WellKnownAlarmProperties<T>
- java.lang.Object
- 
- com.inductiveautomation.ignition.common.alarming.config.WellKnownAlarmProperties<T>
 
- 
- All Implemented Interfaces:
- AlarmProperty<T>,- DescriptiveProperty<T>,- Property<T>,- java.io.Serializable
 - Direct Known Subclasses:
- AlarmModeProperties,- CommonAlarmProperties
 
 public abstract class WellKnownAlarmProperties<T> extends java.lang.Object implements AlarmProperty<T> This class is used as a base for enum-like static definitions of AlarmProperties. This is to create objects that are very much like enums, but with full generic type support. In particular, it supports name() and values(), the latter of which will reflectively look for statically defined members in the derived class.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Modifier Constructor Description WellKnownAlarmProperties()Only for serialization.protectedWellKnownAlarmProperties(java.lang.String simpleName, java.lang.Class<T> dtype, T defaultVal)protectedWellKnownAlarmProperties(java.lang.String simpleName, java.lang.Class<T> dtype, T defaultVal, boolean bindable)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)TgetDefaultValue()The default value for new instances of this property, or null if not applicable.java.lang.StringgetName()The "name" of this property.java.lang.Class<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.java.lang.Stringname()java.lang.StringtoString()protected static AlarmProperty<?>[]values(java.lang.Class<? extends WellKnownAlarmProperties> c)Can be called by an implementation of values() in sub classes to dynamically get the declared static fields.- 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface com.inductiveautomation.ignition.common.config.DescriptivePropertygetCategory, getDescription, getDisplayName
 
- 
 
- 
- 
- 
Method Detail- 
namepublic java.lang.String name() 
 - 
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."
 - 
getTypepublic java.lang.Class<T> getType() Description copied from interface:PropertyThe data type for this property.
 - 
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>
 
 - 
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>
 
 - 
valuesprotected static AlarmProperty<?>[] values(java.lang.Class<? extends WellKnownAlarmProperties> c) Can be called by an implementation of values() in sub classes to dynamically get the declared static fields.
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 
- 
 
-