topicType Element

The topicType element contains the schema information relating to a single topic type in the NPCL schema. This element has the following syntax:

<nf:topicType id="..." isAbstract="true|false">
  <nf:subjectIdentifier> PSI </nf:subjectIdentifier>
  <nf:displayName> NAME </nf:displayName>
  <nf:extension ... > ... </nf:extension>
  <nf:occurrenceField ... > ... </nf:occurrenceField>
  <nf:associationField ... > ... </nf:associationField>
  ...
</topicType>
nf:topicType/@id

Contains the ID value for the topic type described by this element. If the forms schema is being retrieved from a topic map stored inside a TMCore database, then the value of this attribute will be the database OID of the topic that defines the topic type.

nf:topicType/@isAbtract

A boolean value that indicates if the topic type described by this element is marked in the schemas a being abstract. Typically a GUI should not allow end-users to create instances of topic types that are marked as abstract.

nf:topicType/nf:subjectIdentifier

Contains a single subject identifier for this topic type. This element is OPTIONAL and REPEATABLE.

nf:topicType/nf:displayName

Contains a displayable name for the topic type. This element is OPTIONAL and NON-REPEATABLE.

nf:topicType/nf:extension

Contains a single schema extension value for the topic type. Extension values allow additional constraint or display information to be communicated to applications using the NPCL schema extension mechanism. This element is OPTIONAL and REPEATABLE.

nf:topicType/nf:occurrenceField

Contains schema information that constrains creation of occurrences of a specific type on topics of this type. This element is OPTIONAL and REPEATABLE.

nf:topicType/nf:associationField

Contains schema information that constrains the creation of associations between topics of this type and other topics in the topic map. Each associationField element describes the constraints applying to a particular type of role that can be played by topics of this type, or a particular role type and parent association type combination. This element is OPTIONAL and REPEATABLE

nf:topicType/{##other}

An extension point in the NPCL Forms XML Schema which allows any number of elements from any namespace other than the NPCL Forms XML Schema namespace to appear as the last child elements of a topicType element.