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
getPropertyIndex Returns the index of the property specified by the name parameter
getPropertyInfoByIndex Outputs the name, type, and value of the property at the specified position
getPropertyInfoByName Outputs the index, type, and value of the property with the name that matches the specified name
getPropertyName Returns the name of a property at the specified relative index
getPropertyNames Returns an implementation of the JadeIterableIF interface that enables you to iterate through the property names of the JadeDynamicObject
getPropertyType Returns a reference to the type of a property with the specified name
getPropertyTypes Returns an implementation of the JadeIterableIF interface that enables you to iterate through the property types of the JadeDynamicObject
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
getPropertyValues Returns an implementation of the JadeIterableIF interface that enables you to iterate through the property values of the JadeDynamicObject
getPropertyValueByIndex Returns the value of a property at the specified relative index
merge Merges two or more dynamic objects
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
setPropertyValueAsPropertyType

Converts the specified value to the type of the property specified in the propertyName parameter on the receiver JadeDynamicObject

setPropertyValueAsPropertyTypeByIndex Converts the specified value to the type of the property at the position specified in the index parameter to the value specified in the value parameter on the receiver JadeDynamicObject
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
tryGetPropertyValue Returns the value of the specified property, if it exists