Instance.Reflection.setPropertyAtomValue()

Signature

boolean setPropertyAtomValue(Concept instance, String name, Object value)

Domain

ACTION, BUI

Description

Given the concept instance and property name, set the value of a PropertyAtom to the value passed.

Parameters

NameTypeDescription
instanceConceptthe concept instance
nameStringThe name of the propertyAtom
valueObjectThe new value for the property. Its type has to be matched the property type.

Returns

TypeDescription
booleantrue if property is set to new value, false otherwise. e.g. mismatched type, no such property exception.

Cautions

none