NetworkedPlanet | TMCore Engine API Guide |
This element is allowed as a direct child of the abstractType, topicType, occurrenceType, associationType and roleType elements. It contains a list of all of the subclasses of the type defined by the parent element.
<npcl:subclasses> <subclass direct="true|false" classRef="..."/> </subclasses>
References a single subclass of the type.
The direct
is OPTIONAL and indicates
whether the referenced type is a direct subclass of this type or
if it is an indirect subclass (a subclass of a direct subclass of
the type). For importing and schema parsing, only direct
subclasses are considered - indirect subclasses are optionally
provided when exporting an NPCL schema for processing convenience.
If omitted, the value defaults to 'true'.
The classRef
attribute is REQUIRED and
references the type that is a subclass of this type. The value of
this attribute must be the value of the id attribute of an
abstractType, topicType, occurrenceType, associationType or
roleType element in the NPCL XML document.