Class BasicAlarmProperty<T>
java.lang.Object
com.inductiveautomation.ignition.common.alarming.config.BasicAlarmProperty<T>
- All Implemented Interfaces:
AlarmProperty<T>
,DescriptiveProperty<T>
,Property<T>
,Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBasicAlarmProperty
(AlarmProperty<T> base, String displayKey) BasicAlarmProperty
(String name, Class<? extends T> type, T defaultVal, String displayKey, String categoryKey, String descKey, boolean bindable, boolean advanced) -
Method Summary
Modifier and TypeMethodDescriptionboolean
The category under which this property will be placed when editing.The default value for new instances of this property, or null if not applicable.Optional description/documentation for the property.A friendly display name for the property.getName()
The "name" of this property.getType()
The data type for this property.int
hashCode()
boolean
Indicates whether this property should not be shown on basic edit screens.boolean
Indicates whether this property is allowed to be bound.void
setAdvanced
(boolean advanced) void
setBindable
(boolean bindable) void
setCategoryKey
(String categoryKey) void
setDefaultVal
(T defaultVal) void
setDescKey
(String descKey) void
setDisplayKey
(String displayKey) void
void
toString()
-
Constructor Details
-
BasicAlarmProperty
public BasicAlarmProperty() -
BasicAlarmProperty
-
BasicAlarmProperty
-
-
Method Details
-
getDefaultVal
-
setDefaultVal
-
setType
-
setName
-
setDisplayKey
-
setCategoryKey
-
setDescKey
-
setBindable
public void setBindable(boolean bindable) -
setAdvanced
public void setAdvanced(boolean advanced) -
getType
Description copied from interface:Property
The data type for this property. -
getDefaultValue
Description copied from interface:Property
The default value for new instances of this property, or null if not applicable.- Specified by:
getDefaultValue
in interfaceProperty<T>
-
getName
Description copied from interface:Property
The "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." -
getDisplayName
Description copied from interface:DescriptiveProperty
A friendly display name for the property. If not set, will return a raw LocalizedString that contains the property name.- Specified by:
getDisplayName
in interfaceDescriptiveProperty<T>
-
getDisplayKey
-
getCategory
Description copied from interface:DescriptiveProperty
The category under which this property will be placed when editing.- Specified by:
getCategory
in interfaceDescriptiveProperty<T>
-
getCategoryKey
-
getDescription
Description copied from interface:DescriptiveProperty
Optional description/documentation for the property. May return null if no information is available.- Specified by:
getDescription
in interfaceDescriptiveProperty<T>
-
getDescKey
-
isBindable
public boolean isBindable()Description copied from interface:AlarmProperty
Indicates whether this property is allowed to be bound. If not, only simple values are allowed.- Specified by:
isBindable
in interfaceAlarmProperty<T>
-
isAdvanced
public boolean isAdvanced()Description copied from interface:AlarmProperty
Indicates whether this property should not be shown on basic edit screens.- Specified by:
isAdvanced
in interfaceAlarmProperty<T>
-
equals
-
hashCode
public int hashCode() -
toString
-