Interface Scope
-
- All Known Subinterfaces:
- Domain, InstantiatingScope, ObjectStore
public interface Scope
Defines the originating "scope" (enclosing context) of an object, such as theDomain
of aSite
orObjectStore
, or theObjectStore
of 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. TheClassDescription
describes objects that reside somewhere. So, aClassDescription
is 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 theClassDescription
describes:Domain
ObjectStore
null
(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 forDomain
andRealm
. The scope object for aClassDescription
object is the same as the scope object for an instance described by thatClassDescription
. For example, if aCustomObject
object is scoped by anObjectStore
instance "OS1", then the custom object'sClassDescription
will also be scoped by "OS1".