Instance.Reflection.setPropertyArrayValue()
Signature
boolean setPropertyArrayValue(Concept instance, String name, int index, Object value)
Description
Given the concept instance and property name, set the value of a PropertyArray at index to the value passed.
Parameters
Name | Type | Description |
instance | Concept | the concept instance |
name | String | The name of the propertyArray |
index | int | The position in the propertyArray |
value | Object | The new value, the type has to be matched the property type. |
Returns
Type | Description |
boolean | true if property is set to new value, false otherwise. e.g. mismatched type, no such property exception. |