DynamicPropertyType is a handle to an existing property type of known data type. More...
Public Member Functions | |
DynamicPropertyType (PropertyType< TDataType > propertyType) | |
Creates a DynamicPropertyType instance that refers to the same existing property type as the given AbstractPropertyType instance does. | |
DynamicPropertyType (String name, Class< TDataType > clazz) | |
Creates a DynamicPropertyType instance referring to an existing property type with the given name. | |
Public Member Functions inherited from PropertyType< TDataType > | |
PropertyType (Class< TDataType > clazz) | |
Construct a new property type without a name. | |
PropertyType (Class< TDataType > clazz, TDataType defaultValue) | |
Construct a new property type without a name. | |
PropertyType (Class< TDataType > clazz, TDataType defaultValue, EnumSet< PropertyTypeChangeFlag > flags) | |
Construct a new property type without a name. | |
PropertyType (Class< TDataType > clazz, TDataType defaultValue, EnumSet< PropertyTypeChangeFlag > flags, boolean inherited) | |
Construct a new property type without a name. | |
PropertyType (String name, Class< TDataType > clazz) | |
Construct a new property type. | |
PropertyType (String name, Class< TDataType > clazz, TDataType defaultValue) | |
Construct a new property type. | |
PropertyType (String name, Class< TDataType > clazz, TDataType defaultValue, EnumSet< PropertyTypeChangeFlag > flags) | |
Construct a new property type. | |
PropertyType (String name, Class< TDataType > clazz, TDataType defaultValue, EnumSet< PropertyTypeChangeFlag > flags, boolean inherited) | |
Construct a new property type. | |
boolean | equals (Object object) |
EnumSet< PropertyTypeChangeFlag > | getChangeFlags () |
Gets the change flags for a property type. | |
PropertyDataType | getDataType () |
Gets the data type of a property type. | |
TDataType | getDefaultValue () |
Gets the default value for a property type. | |
boolean | getIsInherited () |
Returns whether a property type is inheritable. | |
String | getName () |
Gets the fully qualified name of a property type in the form "Class.PropertyType". | |
long | getNative () |
Gets a pointer to the backing C++ instance. | |
int | hashCode () |
DynamicPropertyType is a handle to an existing property type of known data type.
You can pass DynamicPropertyType directly to functions taking com.rightware.kanzi.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 com.rightware.kanzi.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. |