Previous Topic: Metadata SyntaxesNext Topic: Data Model Types


Data Model

The data model is of universal interest to all layers of the architecture and is stored as the value of the eTMetadata attribute on the eTNamespace object for an endpoint type. The data model defines object classes and their properties, and adheres to the XML schema cs-sdk-home/conf/xsd/datamodel.xsd

This schema defines both an object model (the classes and their properties) and the metadata properties which specify particulars of their processing. The schema includes a SimpleValueGroup group (which in turn references PrimitiveValueGroup) that defines the choices available for a property's value. The SimpleValue complex type allows default values to be specified using the default= XML attribute, which are used for a property when no explicit value is provided in an LDAP ADD request.

An example data model element can define an objectclass called eTDYNAccount which has a single-valued string property eTDYNAccountName.

Note: For an example of fully functional example documents see, cs-sdk-home/connectors/sdkdyn/conf/sdkdyn_metadata.xml and cs-sdk-home/connectors/sdkdyn/conf/sdk_metadata.xml.

Data model metadata settings describe extra data used by the software layers that interact with the data model. For example, the data model described previously requires a Boolean isNaming metadata property with the value true specified for the eTDYNAccountName property. This specifies that this property describes the naming attribute for its parent object class.