Package com.sodius.mdw.metamodel.uml21
Interface ValueSpecification
-
- All Superinterfaces:
Comparable<Object>
,Element
,org.eclipse.emf.ecore.EModelElement
,org.eclipse.emf.ecore.EObject
,MDWEObject
,MDWObject
,NamedElement
,org.eclipse.emf.common.notify.Notifier
,PackageableElement
,ParameterableElement
,TypedElement
- All Known Subinterfaces:
Duration
,DurationInterval
,Expression
,InstanceValue
,Interval
,LiteralBoolean
,LiteralInteger
,LiteralNull
,LiteralSpecification
,LiteralString
,LiteralUnlimitedNatural
,OpaqueExpression
,StringExpression
,TimeExpression
,TimeInterval
public interface ValueSpecification extends PackageableElement, TypedElement
A representation of the model object 'Value Specification'. A value specification is the specification of a (possibly empty) set of instances, including both objects and data values. ValueSpecification specializes ParameterableElement to specify that a value specification can be exposed as a formal template parameter, and provided as an actual parameter in a binding of a template.- See Also:
UMLPackage.getValueSpecification()
-
-
Field Summary
-
Fields inherited from interface com.sodius.mdw.metamodel.uml21.NamedElement
SEPARATOR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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 com.sodius.mdw.metamodel.uml21.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 com.sodius.mdw.core.model.MDWObject
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.NamedElement
allNamespaces, allOwningPackages, createDependency, createNameExpression, 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.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.ParameterableElement
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.TypedElement
getType, setType
-
-
-
-
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 value specifications 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 the value of all literals. result = false
-
integerValue
int integerValue()
The query integerValue() gives a single Integer value when one can be computed. result = Set{}
-
booleanValue
boolean booleanValue()
The query booleanValue() gives a single Boolean value when one can be computed. result = Set{}
-
stringValue
String stringValue()
The query stringValue() gives a single String value when one can be computed. result = Set{}
-
unlimitedValue
int unlimitedValue()
The query unlimitedValue() gives a single UnlimitedNatural value when one can be computed. result = Set{}
-
isNull
boolean isNull()
The query isNull() returns true when it can be computed that the value is null. result = false
-
-