Product Information > JADE Encyclopaedia of Classes – Volume 1 > Chapter 1 - System Classes > JadeDynamicObject Methods

JadeDynamicObject Methods

The methods defined in the JadeDynamicObject class are summarized in the following table.

Method Description
addProperty Adds the specified property at run time
clear Clears the contents of the dynamic object at run time
clearValues Clears the contents of values assigned to the receiver using the setPropertyValue method to set the value to null
display Returns a list of attributes names and values as a string
getName Returns the name of the dynamic object
getPropertyName Returns the name of a property at the specified relative index
getPropertyType Returns a reference to the type of a property with the specified name
getPropertyTypeByIndex Returns a reference to the type of a property at the specified relative index
getPropertyValue Returns the value of a property with the specified name
getPropertyValueByIndex Returns the value of a property at the specified relative index
propertyCount Returns the number of dynamic properties defined for the receiver
setPropertyValue Sets the value of the property specified in the pname parameter to the value specified in the value parameter at run time
setPropertyValueByIndex Sets the value of the property at the relative position specified in the index parameter to the value specified in the value parameter at run time