org.eclipse.uml2
Interface PackageableElement
- All Superinterfaces:
- Element, EModelElement, EObject, NamedElement, Notifier, ParameterableElement, TemplateableElement
- All Known Subinterfaces:
- Abstraction, Activity, Actor, Artifact, Association, AssociationClass, Behavior, BehavioredClassifier, Class, Classifier, Collaboration, CommunicationPath, Component, Constraint, DataType, Dependency, Deployment, DeploymentSpecification, Device, DurationConstraint, EncapsulatedClassifier, Enumeration, EnumerationLiteral, ExecutionEnvironment, Extension, GeneralizationSet, Implementation, InformationFlow, InformationItem, InstanceSpecification, Interaction, InteractionConstraint, Interface, IntervalConstraint, Manifestation, Model, Node, Package, ParameterableClassifier, Permission, PrimitiveFunction, PrimitiveType, Profile, ProtocolStateMachine, Realization, Signal, StateMachine, Stereotype, StructuredClassifier, Substitution, TemplateableClassifier, TimeConstraint, Type, Usage, UseCase
- public interface PackageableElement
- extends NamedElement, ParameterableElement
A representation of the model object 'Packageable Element'.
A packageable element indicates a named element that may be owned directly by a package.
The following features are supported:
- See Also:
UML2Package.getPackageableElement()
Methods inherited from interface org.eclipse.uml2.NamedElement |
allNamespaces, createNameExpression, getClientDependencies, getClientDependency, getName, getNameExpression, getNamespace, getOwnedElements, getOwner, getQualifiedName, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership |
Methods inherited from interface org.eclipse.uml2.Element |
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getValue, hasKeyword, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, validateHasOwner, validateNotOwnSelf |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
copyright
public static final String copyright
-
- See Also:
- Constant Field Values
getPackageableElement_visibility
public VisibilityKind getPackageableElement_visibility()
- Returns the value of the 'Packageable Element visibility' attribute.
The literals are from the enumeration
VisibilityKind
.
If the meaning of the 'Packageable Element visibility' attribute isn't clear,
there really should be more of a description here...
Indicates that packageable elements must always have a visibility, i.e., visibility is not optional. Redefines NamedElement::visibility.
- Returns:
- the value of the 'Packageable Element visibility' attribute.
- See Also:
VisibilityKind
,
setPackageableElement_visibility(VisibilityKind)
,
UML2Package.getPackageableElement_PackageableElement_visibility()
setPackageableElement_visibility
public void setPackageableElement_visibility(VisibilityKind value)
- Sets the value of the '
Packageable Element visibility
' attribute.
- Parameters:
value
- the new value of the 'Packageable Element visibility' attribute.- See Also:
VisibilityKind
,
getPackageableElement_visibility()
getVisibility
public VisibilityKind getVisibility()
-
- Specified by:
getVisibility
in interface NamedElement
- Returns:
- the value of the 'Visibility' attribute.
- See Also:
VisibilityKind
,
NamedElement.setVisibility(VisibilityKind)
,
UML2Package.getNamedElement_Visibility()
setVisibility
public void setVisibility(VisibilityKind value)
-
- Specified by:
setVisibility
in interface NamedElement
- Parameters:
value
- the new value of the 'Visibility' attribute.- See Also:
VisibilityKind
,
NamedElement.getVisibility()