Class WellKnownMetaProperty<T>
- java.lang.Object
-
- com.inductiveautomation.ignition.common.metaproperties.MetaProperty
-
- com.inductiveautomation.ignition.common.metaproperties.TypedMetaProperty<T>
-
- com.inductiveautomation.ignition.common.metaproperties.WellKnownMetaProperty<T>
-
- All Implemented Interfaces:
CopyConstructorClonable
,java.io.Serializable
public class WellKnownMetaProperty<T> extends TypedMetaProperty<T>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WellKnownMetaProperty()
WellKnownMetaProperty(WellKnownMetaProperty<T> copy)
WellKnownMetaProperty(java.lang.String name, T defaultValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypedMetaProperty<T>
getDefault()
TypedMetaProperty<T>
getFrom(MetaPropertyCollection collection)
Retrieves the WellKnownProperty from the given property collection.T
getValueFrom(MetaPropertyCollection collection)
-
Methods inherited from class com.inductiveautomation.ignition.common.metaproperties.TypedMetaProperty
getTypedValue
-
Methods inherited from class com.inductiveautomation.ignition.common.metaproperties.MetaProperty
equals, getName, getValue, getValueAs, setName, setValue, toString
-
-
-
-
Constructor Detail
-
WellKnownMetaProperty
public WellKnownMetaProperty()
-
WellKnownMetaProperty
public WellKnownMetaProperty(java.lang.String name, T defaultValue)
-
WellKnownMetaProperty
public WellKnownMetaProperty(WellKnownMetaProperty<T> copy)
-
-
Method Detail
-
getDefault
public TypedMetaProperty<T> getDefault()
-
getFrom
public TypedMetaProperty<T> getFrom(MetaPropertyCollection collection)
Retrieves the WellKnownProperty from the given property collection. If not defined, the default value is returned.
-
getValueFrom
public T getValueFrom(MetaPropertyCollection collection)
-
-