Interface Package
- All Superinterfaces:
BaseElement,Cloneable,Comparable,Element,org.eclipse.emf.ecore.EObject,MDObject,com.dassault_systemes.modeler.foundation.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
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:
- Model:
- annotation="MOF package='classes.mdkernel'"
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'package Import Of Imported Package' reference list.Returns the value of the 'package Merge Of Merged Package' reference list.Returns the value of the 'Nested Package' reference list.Returns the value of the 'Nesting Package' reference.Returns the value of the 'Owned Stereotype' reference list.Returns the value of the 'Owned Type' reference list.Returns the value of the 'Packaged Element' containment reference list.Returns the value of the 'Package Merge' containment reference list.Returns the value of the 'Profile Application' containment reference list.getURI()Returns the value of the 'URI' attribute.booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidSets 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, isEditable, removePropertyChangeListener, sGetIDMethods inherited from interface java.lang.Comparable
compareToMethods 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, setSyncElementMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setIDMethods inherited from interface com.dassault_systemes.modeler.foundation.model.ModelElement
canChangeElementOwner, eDynamicGet, getElementOwner, getLocalID, getObjectParent, selfDispose, setLocalID, sGetLocalIDMethods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, ignoringRefGetValue, ignoringRefGetValue, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationTextMethods 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, setNamespaceMethods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Namespace
getElementImport, getImportedMember, getMember, getOwnedDiagram, getOwnedMember, getOwnedRule, getPackageImport, hasElementImport, hasImportedMember, hasMember, hasOwnedDiagram, hasOwnedMember, hasOwnedRule, hasPackageImportMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods 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, setVisibilityMethods 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, setTemplateParameterMethods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraintsMethods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refInvokeOperation, refInvokeOperation, refSetValueMethods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostCompositeMethods inherited from interface com.nomagic.uml2.ext.magicdraw.auxiliaryconstructs.mdtemplates.TemplateableElement
getOwnedTemplateSignature, getTemplateBinding, hasTemplateBinding, setOwnedTemplateSignature
-
Method Details
-
getOwnedStereotype
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
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:
- Model:
- opposite="applyingPackage" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
get_packageImportOfImportedPackage
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:
- Model:
- opposite="importedPackage" ordered="false"
- Generated:
-
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:
- Model:
- default="" dataType="com.nomagic.uml2.ext.magicdraw.String" ordered="false"
- Generated:
-
setURI
Sets the value of the 'URI' attribute.- Parameters:
value- the new value of the 'URI' attribute.- See Also:
- Generated:
-
getPackageMerge
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:
- Model:
- opposite="receivingPackage" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
get_packageMergeOfMergedPackage
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:
- Model:
- opposite="mergedPackage" ordered="false"
- Generated:
-
getPackagedElement
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:
- Model:
- opposite="owningPackage" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
getOwnedType
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:
- Model:
- opposite="package" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
- Generated:
-
getNestedPackage
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:
- Model:
- opposite="nestingPackage" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
- Generated:
-
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:
- 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:
-