AbstractPropertyType is a homogeneous property type handle to an existing property type. More...
Classes | |
class | Iterator |
Public Member Functions | |
AbstractPropertyType (String name) | |
Creates an AbstractPropertyType instance referring to the existing property type with the given name. More... | |
AbstractPropertyType (PropertyType< TDataType > propertyType) | |
Creates an AbstractPropertyType instance referring to the existing property type. More... | |
Public Member Functions inherited from PropertyType< Object > | |
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 () |
AbstractPropertyType is a homogeneous property type handle to an existing property type.
You can use AbstractPropertyType to operate on property types when a property type and its data type are unknown or irrelevant. It is usually more convenient to pass AbstractPropertyType as a function argument instead of specifying the exact property type with certain data type.
You can pass AbstractPropertyType directly to functions taking PropertyType argument. You can also query all property type info directly from AbstractPropertyType.
When data type information is known, you should use DynamicPropertyType instead.
AbstractPropertyType | ( | String | name | ) |
Creates an AbstractPropertyType instance referring to the existing property type with the given name.
If a property type with the given name does not already exist in the Kanzi property system, the created AbstractPropertyType instance is invalid.
name | Fully qualified name of a property type. |
AbstractPropertyType | ( | PropertyType< TDataType > | propertyType | ) |
Creates an AbstractPropertyType instance referring to the existing property type.
propertyType | Property type to reference. |