space
Previous Page | Next Page

REPOS Namespace Metadata Types

Repository


Subtypes


Overview

Repository is an abstract class for repositories that store metadata objects. In the current release, the only subtype is RepositoryBase.


Attributes

Name Description Type Length
Desc Description of repository String 200
Id Repository object's metadata identifier String 17
MetadataCreated Date and time metadata object was created Double


MetadataUpdated Date and time metadata object was last updated Double


Name Repository's name String 60


Usage

The following section includes some special usage notes for the Repository type.


Using GetMetadataObjects

When you use GetMetadataObjects to return a list of repositories, you can list repositories of all the subtypes in the Repository superclass, or you can list only repositories of a specific subtype.

To list instances of all subtypes in the Repository superclass:

Example:

<GetMetadataObjects>
   <Reposid>A0000001.A0000001</Reposid>
   <Type>Repository</Type>
   <Objects/>
   <NS>REPOS</NS>
   <Flags>16</Flags>  /* OMI_INCLUDE_SUBTYPES flag */
   <Options/>
</GetMetadataObjects>

To list instances of one subtype in the Repository superclass, specify the appropriate repository subtype in the Type parameter.

Example:

<GetMetadataObjects>
   <Reposid>A0000001.A0000001</Reposid>
   <Type>RepositoryBase</Type>
   <Objects/>
   <NS>REPOS</NS>
   <Flags/>   
   <Options/>
</GetMetadataObjects>

space
Previous Page | Next Page | Top of Page