org.opencrx.kernel.model1.jmi1
Interface Namespace
- All Superinterfaces:
- AlertSender, Auditee, BasicObject, Cloneable, ContextCapable, CrxObject, Element, Exporter, ExtentCapable, Importer, Indexed, Namespace, RefBaseObject, RefFeatured, RefObject, RefObject_1_0, SecureObject, ViewCapable
- All Known Subinterfaces:
- AliasType, Association, BehaviouralFeature, Class, Classifier, CollectionType, Datatype, EnumerationType, Exception, GeneralizableElement, Operation, Package, PrimitiveType, StructureType
public interface Namespace
- extends Namespace, Element
Abstract class Namespace
The Namespace Class classifies and characterizes Elements that can contain other Elements. Along with containing the Elements, a Namespace defines a namespace, the allowable set of names and the naming constraints, for these elements.
Subclasses of the Namespace Class have mechanisms for effectively extending their namespace, without actually containing additional Elements. Thus Namespace can be viewed in terms of its two roles, as a container and as a namespace mechanism. Because only subclasses extend the namespace, the namespace and contents are coincident in the definition of the Namespace Class. Each Namespace has four collections (the latter three derivable) that are used in the MOF Model?s Constraints. These collections are:
- The contents (also called the direct contents), which are defined by the contents
reference.
- All contents, the transitive closure on the contents reference.
- The extended namespace (the contents plus elements included by extension), which
Namespace subclasses accomplish through generalization and importation.
- The extended contents (the transitive closure on the contents reference applied to
the extended namespace).
|
Method Summary |
Void |
deleteNamespace()
|
Element |
getContent(boolean qualifiedNameIsPersistent,
String qualifiedName)
Retrieves the value for the reference content for the specified qualifier attribute value. |
|
getContent(ElementQuery query)
Retrieves the value for the reference content for the specified query. |
Element |
getContent(String qualifiedName)
Retrieves the value for the reference content for the specified qualifier attribute value. |
| Methods inherited from interface org.opencrx.kernel.generic.jmi1.CrxObject |
addAdditionalExternalLink, addAttachedDocument, addMedia, addNote, addPropertySet, addRating, getAdditionalExternalLink, getAdditionalExternalLink, getAdditionalExternalLink, getAttachedDocument, getAttachedDocument, getAttachedDocument, getCategory, getExternalLink, getMedia, getMedia, getMedia, getNote, getNote, getNote, getPropertySet, getPropertySet, getPropertySet, getPropertySetEntry, getPropertySetEntry, getPropertySetEntry, getRating, getRating, getRating, getUserBoolean4, getUserCode4, getUserDate4, getUserDateTime4, getUserNumber4, getUserString4, setCategory, setExternalLink, setUserBoolean4, setUserCode4, setUserDate4, setUserDateTime4, setUserNumber4, setUserString4 |
| Methods inherited from interface org.opencrx.kernel.generic.cci2.CrxObject |
getAdditionalExternalLink, getAttachedDocument, getDisabledReason, getMedia, getNote, getPropertySet, getPropertySetEntry, getRating, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserString0, getUserString1, getUserString2, getUserString3, isDisabled, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, setCategory, setDisabled, setDisabledReason, setExternalLink, setUserBoolean0, setUserBoolean1, setUserBoolean2, setUserBoolean3, setUserBoolean4, setUserCode0, setUserCode1, setUserCode2, setUserCode3, setUserCode4, setUserDate0, setUserDate1, setUserDate2, setUserDate3, setUserDate4, setUserDateTime0, setUserDateTime1, setUserDateTime2, setUserDateTime3, setUserDateTime4, setUserNumber0, setUserNumber1, setUserNumber2, setUserNumber3, setUserNumber4, setUserString0, setUserString1, setUserString2, setUserString3, setUserString4 |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee |
getAudit |
| Methods inherited from interface org.opencrx.kernel.base.jmi1.Cloneable |
clone_ |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Cloneable |
clone_ |
| Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject |
addOwningGroup, checkPermissions, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwningGroup, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser |
| Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0 |
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect |
getContent
<T extends Element> List<T> getContent(ElementQuery query)
- Retrieves the value for the reference
content for the specified query.
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with java.jdo.Query
- Parameters:
query - predicate which is applied to the set of referenced objects.
- Returns:
- The objects for which the predicate evaluates to
true.
getContent
Element getContent(boolean qualifiedNameIsPersistent,
String qualifiedName)
- Retrieves the value for the reference
content for the specified qualifier attribute value.
- Parameters:
qualifiedNameIsPersistent - Defines whether value for the qualifier is persistent or notqualifiedName - The value for the qualifier attribute that qualifies this reference.
- Returns:
- The possibly null value for this qualifier
getContent
Element getContent(String qualifiedName)
- Retrieves the value for the reference
content for the specified qualifier attribute value.
This method is equivalent to the preferred invocation getContent(false,qualifiedName).
- Parameters:
qualifiedName - The value for the qualifier attribute that qualifies this reference.
- Returns:
- The possibly null value for this qualifier
deleteNamespace
Void deleteNamespace()
- Specified by:
deleteNamespace in interface Namespace
This software is published under the BSD license. Copyright © 2003-2008, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.