<!ELEMENT item-descriptor (attribute*, <primary-item-descriptor>,
                           <contributing-item-descriptor>*)>

Parent: <composite-repository-template>

The <item-descriptor> tag specifies the primary and contributing item descriptors that comprise a composite item descriptor.

Attributes

Attribute

Description

name

The name of the composite item descriptor, unique within the repository (required).

This property is case-insensitive.

default

Boolean, specifies whether this is the composite repository’s default item descriptor. The default item descriptor is used for new repository items if no item descriptor is explicitly specified.

If no item descriptor is designated as the default, the first item descriptor in the repository definition file is the default.

Default: false

display-property

Specifies a property of this item descriptor that is used to represent items of this type in a user interface. For example, a profile item descriptor might set display-property to login. Then, each repository item is represented using the value of the item’s login property.

display-name-resource

If a resource bundle is specified for this property with the tag <attribute name=resourceBundle>, this attribute specifies the resource bundle key to the item descriptor’s display name.

See Localizing SQL Repository Definitions.

link-method

The method for retrieving properties from contributing repository items, one of the following:

static (default)
dynamic

See Link Methods.

contributing-item-creation-policy

Specifies how contributing repository items are created, one of the following:

lazy (default)
eager
none

See Creating Composite and Contributing Items.

null-contributing-item-policy

Specifies what to do if a contributing repository item is requested but not found in the underlying repository, one of the following:

default (default)
error
null

See Missing Contributing Items.

Example
<item-descriptor name="compositeUser" default="true"
         display-property="fooProperty"
         display-name-resource="itemDescriptorUser">
   <attribute name="resourceBundle"
              value="atg.userprofiling.CompositeProfileTemplateResources"
              data-type="string"/>
   <primary-item-descriptor.../>
   <contributing-item-descriptor.../>
...
</item-descriptor>

Copyright © 1997, 2014 Oracle and/or its affiliates. All rights reserved. Legal Notices