Interface PackageableElement
-
- All Superinterfaces:
BaseElement
,java.lang.Cloneable
,java.lang.Comparable
,Element
,org.eclipse.emf.ecore.EObject
,MDObject
,ModelObject
,NamedElement
,org.eclipse.emf.common.notify.Notifier
,ParameterableElement
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
- All Known Subinterfaces:
Abstraction
,Activity
,Actor
,AnyReceiveEvent
,Artifact
,Association
,AssociationClass
,Behavior
,BehavioredClassifier
,CallEvent
,ChangeEvent
,Class
,Classifier
,Collaboration
,CommunicationPath
,Component
,ComponentRealization
,Constraint
,DataType
,Dependency
,Deployment
,DeploymentSpecification
,Device
,Duration
,DurationConstraint
,DurationInterval
,DurationObservation
,ElementValue
,EncapsulatedClassifier
,Enumeration
,EnumerationLiteral
,Event
,ExecutionEnvironment
,Expression
,Extension
,FunctionBehavior
,GeneralizationSet
,InformationFlow
,InformationItem
,InstanceSpecification
,InstanceValue
,Interaction
,InteractionConstraint
,Interface
,InterfaceRealization
,Interval
,IntervalConstraint
,LiteralBoolean
,LiteralInteger
,LiteralNull
,LiteralReal
,LiteralSpecification
,LiteralString
,LiteralUnlimitedNatural
,Manifestation
,MessageEvent
,Model
,Node
,Observation
,OpaqueBehavior
,OpaqueExpression
,Package
,PrimitiveType
,Profile
,ProtocolStateMachine
,Realization
,Signal
,SignalEvent
,StateMachine
,Stereotype
,StringExpression
,StructuredClassifier
,Substitution
,TimeConstraint
,TimeEvent
,TimeExpression
,TimeInterval
,TimeObservation
,Type
,Usage
,UseCase
,ValueSpecification
public interface PackageableElement extends NamedElement, ParameterableElement
A representation of the model object 'Packageable Element'.A PackageableElement is a NamedElement that may be owned directly by a Package. A PackageableElement is also able to serve as the parameteredElement of a TemplateParameter.
The following features are supported:
- See Also:
UMLPackage.getPackageableElement()
- Model:
- abstract="true" annotation="MOF package='classes.mdkernel'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Component
get_componentOfPackagedElement()
Returns the value of the 'component Of Packaged Element' container reference.java.util.Collection<ElementImport>
get_elementImportOfImportedElement()
Returns the value of the 'element Import Of Imported Element' reference list.java.util.Collection<Manifestation>
get_manifestationOfUtilizedElement()
Returns the value of the 'manifestation Of Utilized Element' reference list.Package
getOwningPackage()
Returns the value of the 'Owning Package' container reference.VisibilityKind
getVisibility()
Returns the value of the 'Visibility' attribute.boolean
has_elementImportOfImportedElement()
boolean
has_manifestationOfUtilizedElement()
void
set_componentOfPackagedElement(Component value)
Sets the value of the 'component Of Packaged Element
' container reference.void
setOwningPackage(Package value)
Sets the value of the 'Owning Package
' container reference.void
setVisibility(VisibilityKind value)
Sets the value of the 'Visibility
' attribute.-
Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, atInsert, canAdd, canAdd, canAddChild, canAddInstance, canBeDeleted, canChangeParent, canDeleteChild, clone, dispose, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, isParentOf, removeAllPropertyChangeListeners, 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.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, getLocalID, ignoringRefGetValue, ignoringRefGetValue, isInvalid, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText, setLocalID, sGetLocalID
-
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 org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
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
-
-
-
-
Method Detail
-
get_elementImportOfImportedElement
java.util.Collection<ElementImport> get_elementImportOfImportedElement()
Returns the value of the 'element Import Of Imported Element' reference list. The list contents are of typeElementImport
. It is bidirectional and its opposite is 'Imported Element
'.If the meaning of the 'element Import Of Imported Element' reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'element Import Of Imported Element' reference list.
- See Also:
UMLPackage.getPackageableElement__elementImportOfImportedElement()
,ElementImport.getImportedElement()
- Model:
- opposite="importedElement" ordered="false"
- Generated:
-
get_componentOfPackagedElement
@CheckForNull Component get_componentOfPackagedElement()
Returns the value of the 'component Of Packaged Element' container reference. It is bidirectional and its opposite is 'Packaged Element
'.If the meaning of the 'component Of Packaged Element' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'component Of Packaged Element' container reference.
- See Also:
set_componentOfPackagedElement(Component)
,UMLPackage.getPackageableElement__componentOfPackagedElement()
,Component.getPackagedElement()
- Model:
- opposite="packagedElement" transient="false" ordered="false"
- Generated:
-
set_componentOfPackagedElement
void set_componentOfPackagedElement(@CheckForNull Component value)
Sets the value of the 'component Of Packaged Element
' container reference.- Parameters:
value
- the new value of the 'component Of Packaged Element' container reference.- See Also:
get_componentOfPackagedElement()
- Generated:
-
get_manifestationOfUtilizedElement
java.util.Collection<Manifestation> get_manifestationOfUtilizedElement()
Returns the value of the 'manifestation Of Utilized Element' reference list. The list contents are of typeManifestation
. It is bidirectional and its opposite is 'Utilized Element
'.If the meaning of the 'manifestation Of Utilized Element' reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'manifestation Of Utilized Element' reference list.
- See Also:
UMLPackage.getPackageableElement__manifestationOfUtilizedElement()
,Manifestation.getUtilizedElement()
- Model:
- opposite="utilizedElement" ordered="false"
- Generated:
-
getOwningPackage
@CheckForNull Package getOwningPackage()
Returns the value of the 'Owning Package' container reference. It is bidirectional and its opposite is 'Packaged Element
'.If the meaning of the 'Owning Package' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Owning Package' container reference.
- See Also:
setOwningPackage(Package)
,UMLPackage.getPackageableElement_OwningPackage()
,Package.getPackagedElement()
- Model:
- opposite="packagedElement" transient="false" ordered="false"
- Generated:
-
setOwningPackage
void setOwningPackage(@CheckForNull Package value)
Sets the value of the 'Owning Package
' container reference.- Parameters:
value
- the new value of the 'Owning Package' container reference.- See Also:
getOwningPackage()
- Generated:
-
getVisibility
@CheckForNull VisibilityKind getVisibility()
Returns the value of the 'Visibility' attribute. The default value is"public"
. The literals are from the enumerationVisibilityKind
. A PackageableElement must have a visibility specified if it is owned by a Namespace. The default visibility is public.- Specified by:
getVisibility
in interfaceNamedElement
- Returns:
- the value of the 'Visibility' attribute.
- See Also:
VisibilityKind
,setVisibility(VisibilityKind)
,UMLPackage.getPackageableElement_Visibility()
- Model:
- default="public" ordered="false"
- Generated:
-
setVisibility
void setVisibility(@CheckForNull VisibilityKind value)
Sets the value of the 'Visibility
' attribute.- Specified by:
setVisibility
in interfaceNamedElement
- Parameters:
value
- the new value of the 'Visibility' attribute.- See Also:
VisibilityKind
,getVisibility()
- Generated:
-
has_elementImportOfImportedElement
boolean has_elementImportOfImportedElement() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
has_manifestationOfUtilizedElement
boolean has_manifestationOfUtilizedElement() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
-