The metadata for a Property Class (class PropertyClass
) describes
only the properties of the object itself. However, it is possible to add custom
properties to the Property Class (using setStringProperty(), setIntegerProperty()
and so on), and retrieve them using code similar to the following fragment:
... if(propClass.hasProperty(propNumber) && propClass.allowGet(propNumber)) { int propValue = propClass.getIntegerProperty(propNumber); } ...