org.eclipse.uml2.uml
Interface ValueSpecification

All Superinterfaces:
Element, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.EObject, NamedElement, org.eclipse.emf.common.notify.Notifier, PackageableElement, ParameterableElement, TypedElement
All Known Subinterfaces:
Duration, DurationInterval, Expression, InstanceValue, Interval, LiteralBoolean, LiteralInteger, LiteralNull, LiteralReal, LiteralSpecification, LiteralString, LiteralUnlimitedNatural, OpaqueExpression, StringExpression, TimeExpression, TimeInterval

public interface ValueSpecification
extends PackageableElement, TypedElement

A representation of the model object 'Value Specification'. A ValueSpecification is the specification of a (possibly empty) set of values. A ValueSpecification is a ParameterableElement that may be exposed as a formal TemplateParameter and provided as the actual parameter in the binding of a template.

From package UML::Values.

See Also:
UMLPackage.getValueSpecification()

Field Summary
 
Fields inherited from interface org.eclipse.uml2.uml.NamedElement
SEPARATOR
 
Method Summary
 boolean booleanValue()
          The query booleanValue() gives a single Boolean value when one can be computed.
 int integerValue()
          The query integerValue() gives a single Integer value when one can be computed.
 boolean isComputable()
          The query isComputable() determines whether a value specification can be computed in a model.
 boolean isNull()
          The query isNull() returns true when it can be computed that the value is null.
 double realValue()
          The query realValue() gives a single Real value when one can be computed.
 java.lang.String stringValue()
          The query stringValue() gives a single String value when one can be computed.
 int unlimitedValue()
          The query unlimitedValue() gives a single UnlimitedNatural value when one can be computed.
 
Methods inherited from interface org.eclipse.uml2.uml.PackageableElement
validateNamespaceNeedsVisibility
 
Methods inherited from interface org.eclipse.uml2.uml.ParameterableElement
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter
 
Methods inherited from interface org.eclipse.uml2.uml.TypedElement
getType, setType
 
Methods inherited from interface org.eclipse.uml2.uml.NamedElement
allNamespaces, allOwningPackages, createDependency, createNameExpression, createUsage, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
 
Methods inherited from interface org.eclipse.uml2.uml.Element
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
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 org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

isComputable

boolean isComputable()
The query isComputable() determines whether a value specification can be computed in a model. This operation cannot be fully defined in OCL. A conforming implementation is expected to deliver true for this operation for all ValueSpecifications that it can compute, and to compute all of those for which the operation is true. A conforming implementation is expected to be able to compute at least the value of all LiteralSpecifications. result = (false)

From package UML::Values.


integerValue

int integerValue()
The query integerValue() gives a single Integer value when one can be computed. result = (null)

From package UML::Values.


booleanValue

boolean booleanValue()
The query booleanValue() gives a single Boolean value when one can be computed. result = (null)

From package UML::Values.


stringValue

java.lang.String stringValue()
The query stringValue() gives a single String value when one can be computed. result = (null)

From package UML::Values.


unlimitedValue

int unlimitedValue()
The query unlimitedValue() gives a single UnlimitedNatural value when one can be computed. result = (null)

From package UML::Values.


isNull

boolean isNull()
The query isNull() returns true when it can be computed that the value is null. result = (false)

From package UML::Values.


realValue

double realValue()
The query realValue() gives a single Real value when one can be computed. result = (null)

From package UML::Values.


Copyright 2003, 2014 IBM Corporation, CEA, and others.
All Rights Reserved.