It also includes a mechanism by which arbitrary name-value pairs can be associated with a feature.
The CALFeatureMetadata hierarchy provides extra information about various CAL entities created by the CAL compiler such as those in the ScopedEntity hierarchy as well as ModuleTypeInfo. This is analogous to the relationship between the classes in the java.beans.FeatureDescriptor hierarchy and the java.lang.reflect.AccessibleObject hierarchy. In particular, most of the information in the metadata classes is optional, and null values may be returned if the information has not been supplied. In that case, a UI tool can use the lower-level information supplied by the ScopedEntity and ModuleTypeInfo classes to provide reasonable "default" behavior. @author Bo Ilic
|
|