Interface Scope
-
- All Known Subinterfaces:
- Domain, InstantiatingScope, ObjectStore
public interface ScopeDefines the originating "scope" (enclosing context) of an object, such as theDomainof aSiteorObjectStore, or theObjectStoreof aDocument.Classes are generally characterized by where the instance objects reside. Some objects reside within an
ObjectStore; other objects reside "above" anObjectStore, that is, at a higher-level in the object model. TheClassDescriptiondescribes objects that reside somewhere. So, aClassDescriptionis scoped to a particular location, and the object affiliated with that location is the scope object. CallingClassDescription.getScope()returns one of the following, depending on what type of class theClassDescriptiondescribes:DomainObjectStorenull(for the cases ofRealm,EntireNetwork)
The following table lists scope objects and the objects scoped to them:
Scope Object Types of scoped objects EntireNetwork EntireNetwork, Domain, Realm Realm User, Group Domain ObjectStore, MarkingSet, Site, VirtualServer, ServerInstance ObjectStore independent RepositoryObject types, ClassDescription EntireNetwork, being the root of the hierarchy, scopes itself, and is also the scope object forDomainandRealm. The scope object for aClassDescriptionobject is the same as the scope object for an instance described by thatClassDescription. For example, if aCustomObjectobject is scoped by anObjectStoreinstance "OS1", then the custom object'sClassDescriptionwill also be scoped by "OS1".