T
- 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, wait
getCategory, getDescription, getDisplayName
public WellKnownAlarmProperties()
protected WellKnownAlarmProperties(java.lang.String simpleName, java.lang.Class<T> dtype, T defaultVal)
public java.lang.String name()
public java.lang.String getName()
Property
public java.lang.Class<T> getType()
Property
public boolean isBindable()
AlarmProperty
isBindable
in interface AlarmProperty<T>
public boolean isAdvanced()
AlarmProperty
isAdvanced
in interface AlarmProperty<T>
public T getDefaultValue()
Property
getDefaultValue
in interface Property<T>
protected static AlarmProperty<?>[] values(java.lang.Class<? extends WellKnownAlarmProperties> c)
c
- public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object