Instance.Reflection.setPropertyAtomValue()
Signature
boolean setPropertyAtomValue(Concept instance, String name, Object value)
Description
Given the concept instance and property name, set the value of a PropertyAtom to the value passed.
Parameters
Name | Type | Description |
instance | Concept | the concept instance |
name | String | The name of the propertyAtom |
value | Object | The new value for the property. Its 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. |