org.eclipse.uml2
Interface LiteralUnlimitedNatural
- All Superinterfaces:
- Element, EModelElement, EObject, LiteralSpecification, NamedElement, Notifier, ParameterableElement, TemplateableElement, TypedElement, ValueSpecification
- public interface LiteralUnlimitedNatural
- extends LiteralSpecification
A representation of the model object 'Literal Unlimited Natural'.
A literal unlimited natural contains a UnlimitedNatural-valued attribute.
The following features are supported:
- See Also:
UML2Package.getLiteralUnlimitedNatural()
Method Summary |
int |
getValue()
Returns the value of the 'Value' attribute |
boolean |
isComputable()
A query based on the following OCL expression:
true
|
void |
setValue(int value)
Sets the value of the 'Value ' attribute |
int |
unlimitedValue()
A query based on the following OCL expression:
value
|
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
getValue
public int getValue()
- Returns the value of the 'Value' attribute.
If the meaning of the 'Value' attribute isn't clear,
there really should be more of a description here...
The specified UnlimitedNatural value.
- Returns:
- the value of the 'Value' attribute.
- See Also:
setValue(int)
,
UML2Package.getLiteralUnlimitedNatural_Value()
setValue
public void setValue(int value)
- Sets the value of the '
Value
' attribute.
- Parameters:
value
- the new value of the 'Value' attribute.- See Also:
getValue()
isComputable
public boolean isComputable()
-
A query based on the following OCL expression:
true
- Specified by:
isComputable
in interface ValueSpecification
unlimitedValue
public int unlimitedValue()
-
A query based on the following OCL expression:
value
- Specified by:
unlimitedValue
in interface ValueSpecification