DynamicPropertyType is a handle to an existing property type of known data type. More...
Public Member Functions | |
DynamicPropertyType (String name, Class< TDataType > clazz) | |
Creates a DynamicPropertyType instance referring to an existing property type with the given name. More... | |
DynamicPropertyType (PropertyType< TDataType > propertyType) | |
Creates a DynamicPropertyType instance that refers to the same existing property type as the given AbstractPropertyType instance does. More... | |
Public Member Functions inherited from PropertyType< TDataType > | |
PropertyType (Class< TDataType > clazz, TDataType defaultValue, EnumSet< PropertyTypeChangeFlag > flags, boolean inherited) | |
Construct a new property type without a name. More... | |
PropertyType (Class< TDataType > clazz, TDataType defaultValue, EnumSet< PropertyTypeChangeFlag > flags) | |
Construct a new property type without a name. More... | |
PropertyType (Class< TDataType > clazz, TDataType defaultValue) | |
Construct a new property type without a name. More... | |
PropertyType (Class< TDataType > clazz) | |
Construct a new property type without a name. More... | |
PropertyType (String name, Class< TDataType > clazz, TDataType defaultValue, EnumSet< PropertyTypeChangeFlag > flags, boolean inherited) | |
Construct a new property type. More... | |
PropertyType (String name, Class< TDataType > clazz, TDataType defaultValue, EnumSet< PropertyTypeChangeFlag > flags) | |
Construct a new property type. More... | |
PropertyType (String name, Class< TDataType > clazz, TDataType defaultValue) | |
Construct a new property type. More... | |
PropertyType (String name, Class< TDataType > clazz) | |
Construct a new property type. More... | |
boolean | equals (Object object) |
EnumSet< PropertyTypeChangeFlag > | getChangeFlags () |
Gets the change flags for a property type. More... | |
PropertyDataType | getDataType () |
Gets the data type of a property type. More... | |
TDataType | getDefaultValue () |
Gets the default value for a property type. More... | |
boolean | getIsInherited () |
Returns whether a property type is inheritable. More... | |
String | getName () |
Gets the fully qualified name of a property type in the form "Class.PropertyType". More... | |
long | getNative () |
Gets a pointer to the backing C++ instance. More... | |
int | hashCode () |
DynamicPropertyType is a handle to an existing property type of known data type.
You can pass DynamicPropertyType directly to functions taking PropertyType argument. You can also query all property type info directly from DynamicPropertyType.
You can use it to set or get from a node a property type value with a specific data type.
When you do not have a fully qualified name or data type of a property type, or they are irrelevant, to access property types, use AbstractPropertyType instead.
DynamicPropertyType | ( | String | name, |
Class< TDataType > | clazz | ||
) |
Creates a DynamicPropertyType instance referring to an existing property type with the given name.
name | Fully qualified name of an existing property type in the Kanzi property system. |
clazz | Class of the datatype, for example 'Float.class'. |
DynamicPropertyType | ( | PropertyType< TDataType > | propertyType | ) |
Creates a DynamicPropertyType instance that refers to the same existing property type as the given AbstractPropertyType instance does.
propertyType | AbstractPropertyType instance that refers to the existing property type in the Kanzi property system. |