Interface Namespace
-
- All Superinterfaces:
BaseElement
,java.lang.Cloneable
,java.lang.Comparable
,Element
,org.eclipse.emf.ecore.EObject
,MDObject
,com.dassault_systemes.modeler.foundation.model.ModelElement
,ModelObject
,NamedElement
,org.eclipse.emf.common.notify.Notifier
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
- All Known Subinterfaces:
Activity
,Actor
,Artifact
,Association
,AssociationClass
,Behavior
,BehavioralFeature
,BehavioredClassifier
,Class
,Classifier
,Collaboration
,CommunicationPath
,Component
,ConditionalNode
,DataType
,DeploymentSpecification
,Device
,EncapsulatedClassifier
,Enumeration
,ExecutionEnvironment
,ExpansionRegion
,Extension
,FinalState
,FunctionBehavior
,InformationItem
,Interaction
,InteractionOperand
,Interface
,LoopNode
,Model
,Node
,OpaqueBehavior
,Operation
,Package
,PrimitiveType
,Profile
,ProtocolStateMachine
,ProtocolTransition
,Reception
,Region
,SequenceNode
,Signal
,State
,StateMachine
,Stereotype
,StructuredActivityNode
,StructuredClassifier
,Transition
,UseCase
public interface Namespace extends NamedElement
A representation of the model object 'Namespace'.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:
- See Also:
UMLPackage.getNamespace()
- Model:
- abstract="true" annotation="MOF package='classes.mdkernel'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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()
-
Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, isEditable, removePropertyChangeListener, sGetID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementTaggedValue, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotype, getOwnedComment, getOwnedElement, getOwner, getSyncElement, getTaggedValue, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasAppliedStereotype, hasElementTaggedValue, hasOwnedComment, hasOwnedElement, hasTaggedValue, setOwner, setSyncElement
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setID
-
Methods inherited from interface com.dassault_systemes.modeler.foundation.model.ModelElement
canChangeElementOwner, eDynamicGet, getElementOwner, getLocalID, getObjectParent, setLocalID, sGetLocalID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, ignoringRefGetValue, ignoringRefGetValue, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.NamedElement
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, setVisibility
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
-
-
-
-
Method Detail
-
getElementImport
java.util.Collection<ElementImport> getElementImport()
Returns the value of the 'Element Import' containment reference list. The list contents are of typeElementImport
. It is bidirectional and its opposite is 'Importing Namespace
'. References the ElementImports owned by the Namespace.- Returns:
- the value of the 'Element Import' containment reference list.
- See Also:
UMLPackage.getNamespace_ElementImport()
,ElementImport.getImportingNamespace()
- Model:
- opposite="importingNamespace" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
getOwnedRule
java.util.Collection<Constraint> getOwnedRule()
Returns the value of the 'Owned Rule' containment reference list. The list contents are of typeConstraint
. It is bidirectional and its opposite is 'Context
'. Specifies a set of Constraints owned by this Namespace.- Returns:
- the value of the 'Owned Rule' containment reference list.
- See Also:
UMLPackage.getNamespace_OwnedRule()
,Constraint.getContext()
- Model:
- opposite="context" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
getPackageImport
java.util.Collection<PackageImport> getPackageImport()
Returns the value of the 'Package Import' containment reference list. The list contents are of typePackageImport
. It is bidirectional and its opposite is 'Importing Namespace
'. References the PackageImports owned by the Namespace.- Returns:
- the value of the 'Package Import' containment reference list.
- See Also:
UMLPackage.getNamespace_PackageImport()
,PackageImport.getImportingNamespace()
- Model:
- opposite="importingNamespace" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
getOwnedMember
java.util.Collection<NamedElement> getOwnedMember()
Returns the value of the 'Owned Member' reference list. The list contents are of typeNamedElement
. It is bidirectional and its opposite is 'Namespace
'. A collection of NamedElements owned by the Namespace.- Returns:
- the value of the 'Owned Member' reference list.
- See Also:
UMLPackage.getNamespace_OwnedMember()
,NamedElement.getNamespace()
- Model:
- opposite="namespace" transient="true" volatile="true" derived="true" ordered="false"
- Generated:
-
getMember
java.util.Collection<NamedElement> getMember()
Returns the value of the 'Member' reference list. The list contents are of typeNamedElement
. 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.- Returns:
- the value of the 'Member' reference list.
- See Also:
UMLPackage.getNamespace_Member()
,NamedElement.get_namespaceOfMember()
- Model:
- opposite="_namespaceOfMember" transient="true" volatile="true" derived="true" ordered="false"
- Generated:
-
getImportedMember
java.util.Collection<PackageableElement> getImportedMember()
Returns the value of the 'Imported Member' reference list. The list contents are of typePackageableElement
. 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.- Returns:
- the value of the 'Imported Member' reference list.
- See Also:
UMLPackage.getNamespace_ImportedMember()
,com.nomagic.uml2.ext.magicdraw.classes.mdkernel.PackageableElement#get_namespaceOfImportedMember
- Model:
- opposite="_namespaceOfImportedMember" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
- Generated:
-
getOwnedDiagram
java.util.Collection<Diagram> getOwnedDiagram()
Returns the value of the 'Owned Diagram' containment reference list. The list contents are of typeDiagram
. 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...
- Returns:
- the value of the 'Owned Diagram' containment reference list.
- See Also:
UMLPackage.getNamespace_OwnedDiagram()
,Diagram.getOwnerOfDiagram()
- Model:
- opposite="ownerOfDiagram" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
hasElementImport
boolean hasElementImport() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasOwnedRule
boolean hasOwnedRule() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasPackageImport
boolean hasPackageImport() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasOwnedMember
boolean hasOwnedMember() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasMember
boolean hasMember() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasImportedMember
boolean hasImportedMember() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasOwnedDiagram
boolean hasOwnedDiagram() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
-