Meta Data Services Programming
ObjectCol Object
An object collection is a set of repository objects that can be enumerated. Two kinds of object collections are supported by the repository engine:
- The collection of destination objects that correspond to the relationships in a relationship collection. Use the RelationshipCol object to manage this kind of collection.
- The collection of all objects in a repository that conform to a particular class or expose a particular interface. You can instantiate a collection by using the ObjectInstances method.
When to Use
Use the ObjectCol object to enumerate the collection of repository objects that conform to a particular class or expose a particular interface. With this object, you can:
- Get a count of the number of objects in the collection.
- Retrieve one of the objects in the collection.
- Refresh the cached image of the object collection.
Properties
Property | Description |
---|---|
Count | The count of the number of items in the collection |
Item | Retrieves the specified object from the collection |
Methods
Method | Description |
---|---|
Cancel | Cancels an in-progress load operation |
LoadStatus | Obtains the load status of the collection |
Refresh | Refreshes the cached image of the collection |
See Also
ClassDef ObjectInstances Method