Sie sind auf Seite 1von 1

Repository Architecture:

The repository provides a mechanism to retrieve the data elements, and creates a run-time representation of the
available metadata for each object. This goal is achieved through three main conceptual parts of the Repository API:
Repository Items
Item Descriptors
Repository Queries
Repository Items:
A repository is a collection of repository items. A repository item is a JavaBean component that implements
atg.repository.RepositoryItem or one of its sub-interfaces, and corresponds to the smallest uniquely identifiable entity
in the underlying data store.

Properties:
Each repository item is composed of named properties that store the items data. Repository item properties can be single-
or multi-valued.

Repository IDs
Each repository item must have an identifier, which is called a repository ID. The repository ID must uniquely
differentiate the repository item from all other repository items of the same type.

Item Descriptors:
Each repository item belongs to an item type that is defined by a Repository item descriptor. An item descriptor
implements the atg.repository.RepositoryItemDescriptor interface and can subclass atg.repository.ItemDescriptorImpl.
An item descriptor provides the following information:
The item types name
Item type properties
The class of the Java object used to represent the item typefor example, Integer or String
Item descriptors are defined in an XML repository definition file. A repository can support multiple item descriptors.

Das könnte Ihnen auch gefallen