public abstract class WellKnownAlarmProperties<T> extends java.lang.Object implements AlarmProperty<T>
| Modifier | Constructor and Description |
|---|---|
|
WellKnownAlarmProperties()
Only for serialization.
|
protected |
WellKnownAlarmProperties(java.lang.String simpleName,
java.lang.Class<T> dtype,
T defaultVal) |
protected |
WellKnownAlarmProperties(java.lang.String simpleName,
java.lang.Class<T> dtype,
T defaultVal,
boolean bindable) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
T |
getDefaultValue()
The default value for new instances of this property, or null if not applicable.
|
java.lang.String |
getName()
The "name" of this property.
|
java.lang.Class<T> |
getType()
The data type for this property.
|
int |
hashCode() |
boolean |
isAdvanced()
Indicates whether this property should not be shown on basic edit screens.
|
boolean |
isBindable()
Indicates whether this property is allowed to be bound.
|
java.lang.String |
name() |
java.lang.String |
toString() |
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.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCategory, getDescription, getDisplayNamepublic WellKnownAlarmProperties()
protected WellKnownAlarmProperties(java.lang.String simpleName,
java.lang.Class<T> dtype,
T defaultVal)
public java.lang.String name()
public java.lang.String getName()
Propertypublic java.lang.Class<T> getType()
Propertypublic boolean isBindable()
AlarmPropertyisBindable in interface AlarmProperty<T>public boolean isAdvanced()
AlarmPropertyisAdvanced in interface AlarmProperty<T>public T getDefaultValue()
PropertygetDefaultValue in interface Property<T>protected static AlarmProperty<?>[] values(java.lang.Class<? extends WellKnownAlarmProperties> c)
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object