public interface Package extends PackageableElement, Namespace, 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:
UMLPackage.getPackage()
Modifier and Type | Method and 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.
|
Package |
getNestingPackage()
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.String |
getURI()
Returns the value of the 'URI' attribute.
|
boolean |
has_packageImportOfImportedPackage() |
boolean |
has_packageMergeOfMergedPackage() |
boolean |
hasNestedPackage() |
boolean |
hasOwnedStereotype() |
boolean |
hasOwnedType() |
boolean |
hasPackagedElement() |
boolean |
hasPackageMerge() |
boolean |
hasProfileApplication() |
void |
setURI(java.lang.String value)
Sets the value of the '
URI ' attribute. |
get_componentOfPackagedElement, get_elementImportOfImportedElement, get_manifestationOfUtilizedElement, getOwningPackage, getVisibility, has_elementImportOfImportedElement, has_manifestationOfUtilizedElement, set_componentOfPackagedElement, setOwningPackage, setVisibility
get_templateParameterOfDefault, get_templateParameterOfOwnedDefault, get_templateParameterSubstitutionOfActual, get_templateParameterSubstitutionOfOwnedActual, getOwningTemplateParameter, getTemplateParameter, has_templateParameterOfDefault, has_templateParameterSubstitutionOfActual, set_templateParameterOfOwnedDefault, set_templateParameterSubstitutionOfOwnedActual, setOwningTemplateParameter, setTemplateParameter
getElementImport, getImportedMember, getMember, getOwnedDiagram, getOwnedMember, getOwnedRule, getPackageImport, hasElementImport, hasImportedMember, hasMember, hasOwnedDiagram, hasOwnedMember, hasOwnedRule, hasPackageImport
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
get_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, setSyncElement
get_representationText, getLocalID, isInvalid, set_representationText, setLocalID, sGetLocalID
getID, getMDExtension, getMdExtensions, setID
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetID
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
getOwnedTemplateSignature, getTemplateBinding, hasTemplateBinding, setOwnedTemplateSignature
java.util.Collection<Stereotype> getOwnedStereotype()
Stereotype
.
It is bidirectional and its opposite is
'package Of Owned Stereotype
'.
References the Stereotypes that are owned by the Package.
UMLPackage.getPackage_OwnedStereotype()
,
com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype#get_packageOfOwnedStereotype
java.util.Collection<ProfileApplication> getProfileApplication()
ProfileApplication
.
It is bidirectional and its opposite is 'Applying Package
'.
References the ProfileApplications that indicate which profiles have been applied to the Package.
UMLPackage.getPackage_ProfileApplication()
,
ProfileApplication.getApplyingPackage()
java.util.Collection<PackageImport> get_packageImportOfImportedPackage()
PackageImport
.
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...
UMLPackage.getPackage__packageImportOfImportedPackage()
,
PackageImport.getImportedPackage()
@CheckForNull java.lang.String getURI()
""
.
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.
setURI(String)
,
UMLPackage.getPackage_URI()
void setURI(@CheckForNull java.lang.String value)
URI
' attribute.
value
- the new value of the 'URI' attribute.getURI()
java.util.Collection<PackageMerge> getPackageMerge()
PackageMerge
.
It is bidirectional and its opposite is 'Receiving Package
'.
References the PackageMerges that are owned by this Package.
UMLPackage.getPackage_PackageMerge()
,
PackageMerge.getReceivingPackage()
java.util.Collection<PackageMerge> get_packageMergeOfMergedPackage()
PackageMerge
.
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...
UMLPackage.getPackage__packageMergeOfMergedPackage()
,
PackageMerge.getMergedPackage()
java.util.Collection<PackageableElement> getPackagedElement()
PackageableElement
.
It is bidirectional and its opposite is 'Owning Package
'.
Specifies the packageable elements that are owned by this Package.
UMLPackage.getPackage_PackagedElement()
,
PackageableElement.getOwningPackage()
java.util.Collection<Type> getOwnedType()
Type
.
It is bidirectional and its opposite is 'Package
'.
References the packaged elements that are Types.
UMLPackage.getPackage_OwnedType()
,
Type.getPackage()
java.util.Collection<Package> getNestedPackage()
Package
.
It is bidirectional and its opposite is 'Nesting Package
'.
References the packaged elements that are Packages.
UMLPackage.getPackage_NestedPackage()
,
getNestingPackage()
@CheckForNull Package getNestingPackage()
Nested Package
'.
References the Package that owns this Package.
UMLPackage.getPackage_NestingPackage()
,
getNestedPackage()
boolean hasOwnedStereotype() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean hasProfileApplication() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean has_packageImportOfImportedPackage() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean hasPackageMerge() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean has_packageMergeOfMergedPackage() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean hasPackagedElement() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean hasOwnedType() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean hasNestedPackage() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException