Interface Property<T>
-
- All Superinterfaces:
java.io.Serializable
- All Known Subinterfaces:
AlarmProperty<T>
,ConfigurationProperty<T>
,DescriptiveProperty<T>
,NotificationProfileProperty<T>
- All Known Implementing Classes:
AlarmModeProperties
,AssociatedData
,BasicAlarmProperty
,BasicConfigurationProperty
,BasicDescriptiveProperty
,BasicNotificationProfileProperty
,BasicProperty
,CommonAlarmProperties
,CommonAlarmProperties.CalculatedAlarmProperty
,EventProperty
,TagAttribute
,TagProp
,WellKnownAlarmProperties
,ZoneTraitDescriptor
public interface Property<T> extends java.io.Serializable
A Property describes a unique name and datatype for a property.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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<? extends T>
getType()
The data type for this property.
-
-
-
Method Detail
-
getName
java.lang.String getName()
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."
-
getType
java.lang.Class<? extends T> getType()
The data type for this property.
-
getDefaultValue
@Nullable T getDefaultValue()
The default value for new instances of this property, or null if not applicable.
-
-