org.eclipse.uml2
Interface TypedElement
- All Superinterfaces:
- Element, EModelElement, EObject, NamedElement, Notifier, TemplateableElement
- All Known Subinterfaces:
- ActivityParameterNode, CentralBufferNode, DataStoreNode, Duration, DurationInterval, ExpansionNode, Expression, ExtensionEnd, InputPin, InstanceValue, Interval, LiteralBoolean, LiteralInteger, LiteralNull, LiteralSpecification, LiteralString, LiteralUnlimitedNatural, ObjectNode, OpaqueExpression, Operation, OutputPin, Parameter, Pin, Port, Property, StructuralFeature, TimeExpression, TimeInterval, ValuePin, ValueSpecification, Variable
- public interface TypedElement
- extends NamedElement
A representation of the model object 'Typed Element'.
A typed element is an element that has a type that serves as a constraint on the range of values the element can represent. Typed element is an abstract metaclass.
The following features are supported:
- See Also:
UML2Package.getTypedElement()
Method Summary |
Type |
getType()
Returns the value of the 'Type' reference |
void |
setType(Type value)
Sets the value of the 'Type ' reference |
Methods inherited from interface org.eclipse.uml2.NamedElement |
allNamespaces, createNameExpression, getClientDependencies, getClientDependency, getName, getNameExpression, getNamespace, getOwnedElements, getOwner, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, 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
getType
public Type getType()
- Returns the value of the 'Type' reference.
If the meaning of the 'Type' reference isn't clear,
there really should be more of a description here...
The type of the TypedElement.
- Returns:
- the value of the 'Type' reference.
- See Also:
setType(Type)
,
UML2Package.getTypedElement_Type()
setType
public void setType(Type value)
- Sets the value of the '
Type
' reference.
- Parameters:
value
- the new value of the 'Type' reference.- See Also:
getType()