Getting and Setting Properties at Runtime

Advanced users can use the APIs to dynamically set properties at runtime. For example, one of the APIs you can use is the setProperty(String name, String value) method. This method is available for all component objects. For entity attributes, you can either set properties on entity attributes from methods on the EntityDefImpl class or by calling:

entity.def.getAttributeDefImpl(i).setProperty(name, value);

For view object attributes:

((AttributeDefImpl))vo.getAttributeDef(i)).setProperty(name, value);