3

What's the difference between a repository item and an item descriptor in ATG repositories?

Kalle Richter
  • 8,008
  • 26
  • 77
  • 177
Nithin
  • 255
  • 1
  • 6
  • 15
  • 1
    The answer is in Repository Guide, available from http://docs.oracle.com/cd/E23507_01/index.html – Miro A. Feb 26 '12 at 05:01

3 Answers3

11

A repository item contains the data for one record in your repository, which means that you use repository items to access the data that is stored in your repository and (usually) your database.

An item descriptor defines a named item TYPE, so this is more about the structure of the data. Each repository item always has a defined type that again defines the list of available property names for the item, the data types of these properties, etc... - and this data type definition is the item descriptor.

If one tried to translate these two concepts to the world of relational databases, a repository item would be something like one row (one record) of data that is stored in the database. An item descriptor would be something like a table.

Jan
  • 2,498
  • 1
  • 15
  • 6
1

An item-descriptor is an XML mapping of an Object to your table columns. This is basically a definition of your object (Just like a class).

Aan item, is an entity which contains the actual objects of this item-descriptor. (like an Object).

You can refer to the below article for details:- http://learnoracleatg.blogspot.in/2014/11/art201-what-is-repository-in-atg.html

Puneet
  • 11
  • 1
0

An item descriptor is similar to class name in Java.
An RepositoryItem is like an instance