Interface Package
-
- All Superinterfaces:
BaseElement,java.lang.Cloneable,java.lang.Comparable,Element,org.eclipse.emf.ecore.EObject,MDObject,com.dassault_systemes.modeler.model.ModelElement,ModelObject,NamedElement,Namespace,org.eclipse.emf.common.notify.Notifier,PackageableElement,ParameterableElement,javax.jmi.reflect.RefBaseObject,javax.jmi.reflect.RefFeatured,javax.jmi.reflect.RefObject,TemplateableElement
public interface Package extends PackageableElement, Namespace, TemplateableElement
A representation of the model object 'Package'.A package can have one or more profile applications to indicate which profiles have been applied. Because a profile is a package, it is possible to apply a profile not only to packages, but also to profiles. Package specializes TemplateableElement and PackageableElement specializes ParameterableElement to specify that a package can be used as a template and a PackageableElement as a template parameter. A package is used to group elements, and provides a namespace for the grouped elements.
The following features are supported:
- See Also:
UMLPackage.getPackage()- Model:
- annotation="MOF package='classes.mdkernel'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<PackageImport>get_packageImportOfImportedPackage()Returns the value of the 'package Import Of Imported Package' reference list.java.util.Collection<PackageMerge>get_packageMergeOfMergedPackage()Returns the value of the 'package Merge Of Merged Package' reference list.java.util.Collection<Package>getNestedPackage()Returns the value of the 'Nested Package' reference list.PackagegetNestingPackage()Returns the value of the 'Nesting Package' reference.java.util.Collection<Stereotype>getOwnedStereotype()Returns the value of the 'Owned Stereotype' reference list.java.util.Collection<Type>getOwnedType()Returns the value of the 'Owned Type' reference list.java.util.Collection<PackageableElement>getPackagedElement()Returns the value of the 'Packaged Element' containment reference list.java.util.Collection<PackageMerge>getPackageMerge()Returns the value of the 'Package Merge' containment reference list.java.util.Collection<ProfileApplication>getProfileApplication()Returns the value of the 'Profile Application' containment reference list.java.lang.StringgetURI()Returns the value of the 'URI' attribute.booleanhas_packageImportOfImportedPackage()booleanhas_packageMergeOfMergedPackage()booleanhasNestedPackage()booleanhasOwnedStereotype()booleanhasOwnedType()booleanhasPackagedElement()booleanhasPackageMerge()booleanhasProfileApplication()voidsetURI(java.lang.String value)Sets the value of the 'URI' attribute.-
Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, 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.model.ModelElement
getLocalID, setLocalID, sGetLocalID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, ignoringRefGetValue, ignoringRefGetValue, isInvalid, 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, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespace
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Namespace
getElementImport, getImportedMember, getMember, getOwnedDiagram, getOwnedMember, getOwnedRule, getPackageImport, hasElementImport, hasImportedMember, hasMember, hasOwnedDiagram, hasOwnedMember, hasOwnedRule, hasPackageImport
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.PackageableElement
get_componentOfPackagedElement, get_elementImportOfImportedElement, get_manifestationOfUtilizedElement, getOwningPackage, getVisibility, has_elementImportOfImportedElement, has_manifestationOfUtilizedElement, set_componentOfPackagedElement, setOwningPackage, setVisibility
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.auxiliaryconstructs.mdtemplates.ParameterableElement
get_templateParameterOfDefault, get_templateParameterOfOwnedDefault, get_templateParameterSubstitutionOfActual, get_templateParameterSubstitutionOfOwnedActual, getOwningTemplateParameter, getTemplateParameter, has_templateParameterOfDefault, has_templateParameterSubstitutionOfActual, set_templateParameterOfOwnedDefault, set_templateParameterSubstitutionOfOwnedActual, setOwningTemplateParameter, setTemplateParameter
-
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
-
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refInvokeOperation, refInvokeOperation, refSetValue
-
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.auxiliaryconstructs.mdtemplates.TemplateableElement
getOwnedTemplateSignature, getTemplateBinding, hasTemplateBinding, setOwnedTemplateSignature
-
-
-
-
Method Detail
-
getOwnedStereotype
java.util.Collection<Stereotype> getOwnedStereotype()
Returns the value of the 'Owned Stereotype' reference list. The list contents are of typeStereotype. It is bidirectional and its opposite is 'package Of Owned Stereotype'. References the Stereotypes that are owned by the Package.- Returns:
- the value of the 'Owned Stereotype' reference list.
- See Also:
UMLPackage.getPackage_OwnedStereotype(),com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype#get_packageOfOwnedStereotype- Model:
- opposite="_packageOfOwnedStereotype" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
- Generated:
-
getProfileApplication
java.util.Collection<ProfileApplication> getProfileApplication()
Returns the value of the 'Profile Application' containment reference list. The list contents are of typeProfileApplication. It is bidirectional and its opposite is 'Applying Package'. References the ProfileApplications that indicate which profiles have been applied to the Package.- Returns:
- the value of the 'Profile Application' containment reference list.
- See Also:
UMLPackage.getPackage_ProfileApplication(),ProfileApplication.getApplyingPackage()- Model:
- opposite="applyingPackage" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
get_packageImportOfImportedPackage
java.util.Collection<PackageImport> get_packageImportOfImportedPackage()
Returns the value of the 'package Import Of Imported Package' reference list. The list contents are of typePackageImport. It is bidirectional and its opposite is 'Imported Package'.If the meaning of the 'package Import Of Imported Package' reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'package Import Of Imported Package' reference list.
- See Also:
UMLPackage.getPackage__packageImportOfImportedPackage(),PackageImport.getImportedPackage()- Model:
- opposite="importedPackage" ordered="false"
- Generated:
-
getURI
@CheckForNull java.lang.String getURI()
Returns the value of the 'URI' attribute. The default value is"". Provides an identifier for the package that can be used for many purposes. A URI is the universally unique identification of the package following the IETF URI specification, RFC 2396 http://www.ietf.org/rfc/rfc2396.txt and it must comply with those syntax rules.- Returns:
- the value of the 'URI' attribute.
- See Also:
setURI(String),UMLPackage.getPackage_URI()- Model:
- default="" dataType="com.nomagic.uml2.ext.magicdraw.String" ordered="false"
- Generated:
-
setURI
void setURI(@CheckForNull java.lang.String value)Sets the value of the 'URI' attribute.- Parameters:
value- the new value of the 'URI' attribute.- See Also:
getURI()- Generated:
-
getPackageMerge
java.util.Collection<PackageMerge> getPackageMerge()
Returns the value of the 'Package Merge' containment reference list. The list contents are of typePackageMerge. It is bidirectional and its opposite is 'Receiving Package'. References the PackageMerges that are owned by this Package.- Returns:
- the value of the 'Package Merge' containment reference list.
- See Also:
UMLPackage.getPackage_PackageMerge(),PackageMerge.getReceivingPackage()- Model:
- opposite="receivingPackage" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
get_packageMergeOfMergedPackage
java.util.Collection<PackageMerge> get_packageMergeOfMergedPackage()
Returns the value of the 'package Merge Of Merged Package' reference list. The list contents are of typePackageMerge. It is bidirectional and its opposite is 'Merged Package'.If the meaning of the 'package Merge Of Merged Package' reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'package Merge Of Merged Package' reference list.
- See Also:
UMLPackage.getPackage__packageMergeOfMergedPackage(),PackageMerge.getMergedPackage()- Model:
- opposite="mergedPackage" ordered="false"
- Generated:
-
getPackagedElement
java.util.Collection<PackageableElement> getPackagedElement()
Returns the value of the 'Packaged Element' containment reference list. The list contents are of typePackageableElement. It is bidirectional and its opposite is 'Owning Package'. Specifies the packageable elements that are owned by this Package.- Returns:
- the value of the 'Packaged Element' containment reference list.
- See Also:
UMLPackage.getPackage_PackagedElement(),PackageableElement.getOwningPackage()- Model:
- opposite="owningPackage" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
getOwnedType
java.util.Collection<Type> getOwnedType()
Returns the value of the 'Owned Type' reference list. The list contents are of typeType. It is bidirectional and its opposite is 'Package'. References the packaged elements that are Types.- Returns:
- the value of the 'Owned Type' reference list.
- See Also:
UMLPackage.getPackage_OwnedType(),Type.getPackage()- Model:
- opposite="package" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
- Generated:
-
getNestedPackage
java.util.Collection<Package> getNestedPackage()
Returns the value of the 'Nested Package' reference list. The list contents are of typePackage. It is bidirectional and its opposite is 'Nesting Package'. References the packaged elements that are Packages.- Returns:
- the value of the 'Nested Package' reference list.
- See Also:
UMLPackage.getPackage_NestedPackage(),getNestingPackage()- Model:
- opposite="nestingPackage" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
- Generated:
-
getNestingPackage
@CheckForNull Package getNestingPackage()
Returns the value of the 'Nesting Package' reference. It is bidirectional and its opposite is 'Nested Package'. References the Package that owns this Package.- Returns:
- the value of the 'Nesting Package' reference.
- See Also:
UMLPackage.getPackage_NestingPackage(),getNestedPackage()- Model:
- opposite="nestedPackage" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
- Generated:
-
hasOwnedStereotype
boolean hasOwnedStereotype() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-
hasProfileApplication
boolean hasProfileApplication() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-
has_packageImportOfImportedPackage
boolean has_packageImportOfImportedPackage() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-
hasPackageMerge
boolean hasPackageMerge() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-
has_packageMergeOfMergedPackage
boolean has_packageMergeOfMergedPackage() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-
hasPackagedElement
boolean hasPackagedElement() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-
hasOwnedType
boolean hasOwnedType() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-
hasNestedPackage
boolean hasNestedPackage() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException- Generated:
-
-