public interface Namespace extends NamedElement
A Namespace is an Element in a model that owns and/or imports a set of NamedElements that can be identified by name.
The following features are supported:
UMLPackage.getNamespace()| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<ElementImport> |
getElementImport()
Returns the value of the 'Element Import' containment reference list.
|
java.util.Collection<PackageableElement> |
getImportedMember()
Returns the value of the 'Imported Member' reference list.
|
java.util.Collection<NamedElement> |
getMember()
Returns the value of the 'Member' reference list.
|
java.util.Collection<Diagram> |
getOwnedDiagram()
Returns the value of the 'Owned Diagram' containment reference list.
|
java.util.Collection<NamedElement> |
getOwnedMember()
Returns the value of the 'Owned Member' reference list.
|
java.util.Collection<Constraint> |
getOwnedRule()
Returns the value of the 'Owned Rule' containment reference list.
|
java.util.Collection<PackageImport> |
getPackageImport()
Returns the value of the 'Package Import' containment reference list.
|
boolean |
hasElementImport() |
boolean |
hasImportedMember() |
boolean |
hasMember() |
boolean |
hasOwnedDiagram() |
boolean |
hasOwnedMember() |
boolean |
hasOwnedRule() |
boolean |
hasPackageImport() |
get_considerIgnoreFragmentOfMessage, get_durationObservationOfEvent, get_informationFlowOfInformationSource, get_informationFlowOfInformationTarget, get_messageOfSignature, get_namespaceOfMember, get_timeObservationOfEvent, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getSupplierDependency, getVisibility, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespace, setVisibilityget_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotypeInstance, getOwnedComment, getOwnedElement, getOwner, getSyncElement, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasOwnedComment, hasOwnedElement, setAppliedStereotypeInstance, setOwner, setSyncElementget_representationText, getLocalID, isInvalid, set_representationText, setLocalID, sGetLocalIDgetID, getMDExtension, getMdExtensions, setIDeAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDeliveraccept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetIDrefClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostCompositejava.util.Collection<ElementImport> getElementImport()
ElementImport.
It is bidirectional and its opposite is
'Importing Namespace'.
References the ElementImports owned by the Namespace.
UMLPackage.getNamespace_ElementImport(),
ElementImport.getImportingNamespace()java.util.Collection<Constraint> getOwnedRule()
Constraint.
It is bidirectional and its opposite is 'Context'.
Specifies a set of Constraints owned by this Namespace.
UMLPackage.getNamespace_OwnedRule(),
Constraint.getContext()java.util.Collection<PackageImport> getPackageImport()
PackageImport.
It is bidirectional and its opposite is
'Importing Namespace'.
References the PackageImports owned by the Namespace.
UMLPackage.getNamespace_PackageImport(),
PackageImport.getImportingNamespace()java.util.Collection<NamedElement> getOwnedMember()
NamedElement.
It is bidirectional and its opposite is 'Namespace'.
A collection of NamedElements owned by the Namespace.
UMLPackage.getNamespace_OwnedMember(),
NamedElement.getNamespace()java.util.Collection<NamedElement> getMember()
NamedElement.
It is bidirectional and its opposite is 'namespace Of Member'.
A collection of NamedElements identifiable within the Namespace, either by being owned or by being introduced by importing or inheritance.
UMLPackage.getNamespace_Member(),
NamedElement.get_namespaceOfMember()java.util.Collection<PackageableElement> getImportedMember()
PackageableElement.
It is bidirectional and its opposite is
'namespace Of Imported Member'.
References the PackageableElements that are members of this Namespace as a result of either PackageImports or ElementImports.
UMLPackage.getNamespace_ImportedMember(),
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.PackageableElement#get_namespaceOfImportedMemberjava.util.Collection<Diagram> getOwnedDiagram()
Diagram.
It is bidirectional and its opposite is 'Owner Of Diagram'.
If the meaning of the 'Owned Diagram' containment reference list isn't clear, there really should be more of a description here...
UMLPackage.getNamespace_OwnedDiagram(),
Diagram.getOwnerOfDiagram()boolean hasElementImport()
throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiExceptionboolean hasOwnedRule()
throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiExceptionboolean hasPackageImport()
throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiExceptionboolean hasOwnedMember()
throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiExceptionboolean hasMember()
throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiExceptionboolean hasImportedMember()
throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiExceptionboolean hasOwnedDiagram()
throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException