The item-descriptor tag defines a composite item descriptor.

item-descriptor attributes

Attribute

Description

Value

name

The name of the composite item descriptor.

Required

default

Is this the composite repository’s default item descriptor?

Boolean
Default is false

display-property

You can set this property to the name of a repository item property. A user interface can then represent the repository item with this property. For example, a profile item descriptor might use display-property="login". Then, each repository item is represented using the value of the item’s login property.

String

display-name-resource

If you specify a resource bundle for this property with the <attribute name=resourceBundle> tag, the display-name-resource attribute specifies the resource bundle key that holds the display name. See the Localizing SQL Repository Definitions chapter.

String

link-method

The method used in retrieving properties from contributing repository items. See Link Methods.

static (default) or
dynamic

contributing-item-creation-policy

Specifies how and whether contributing repository items are created. See Creating Composite and Contributing Items.

eager
lazy
(default)
none

null-contributing-item-policy

Specifies what to do if a contributing repository items is requested, but not found in the underlying repository. See Missing Contributing Items.

default (default)
error
null

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>
item-descriptor child tags

An item-descriptor tag can enclose the following child tags:

 
loading table of contents...