|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Expression
A representation of the model object 'Expression'. An Expression represents a node in an expression tree, which may be non-terminal or terminal. It defines a symbol, and has a possibly empty sequence of operands that are ValueSpecifications. It denotes a (possibly empty) set of values when evaluated in a context.
From package UML::Values.
The following features are supported:
UMLPackage.getExpression()
Field Summary |
---|
Fields inherited from interface org.eclipse.uml2.uml.NamedElement |
---|
SEPARATOR |
Method Summary | |
---|---|
ValueSpecification |
createOperand(java.lang.String name,
Type type,
org.eclipse.emf.ecore.EClass eClass)
Creates a new ValueSpecification , with the specified 'Name', and 'Type', and appends it to the 'Operand' containment reference list |
ValueSpecification |
getOperand(java.lang.String name,
Type type)
Retrieves the first ValueSpecification with the specified 'Name', and 'Type' from the 'Operand' containment reference list |
ValueSpecification |
getOperand(java.lang.String name,
Type type,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass,
boolean createOnDemand)
Retrieves the first ValueSpecification with the specified 'Name', and 'Type' from the 'Operand' containment reference list |
org.eclipse.emf.common.util.EList<ValueSpecification> |
getOperands()
Returns the value of the 'Operand' containment reference list. |
java.lang.String |
getSymbol()
Returns the value of the 'Symbol' attribute |
boolean |
isSetSymbol()
Returns whether the value of the ' Symbol ' attribute is set |
void |
setSymbol(java.lang.String value)
Sets the value of the ' Symbol ' attribute |
void |
unsetSymbol()
Unsets the value of the ' Symbol ' attribute |
Methods inherited from interface org.eclipse.uml2.uml.ValueSpecification |
---|
booleanValue, integerValue, isComputable, isNull, realValue, stringValue, unlimitedValue |
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.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 |
---|
java.lang.String getSymbol()
From package UML::Values.
isSetSymbol()
,
unsetSymbol()
,
setSymbol(String)
,
UMLPackage.getExpression_Symbol()
void setSymbol(java.lang.String value)
Symbol
' attribute.
value
- the new value of the 'Symbol' attribute.isSetSymbol()
,
unsetSymbol()
,
getSymbol()
void unsetSymbol()
Symbol
' attribute.
isSetSymbol()
,
getSymbol()
,
setSymbol(String)
boolean isSetSymbol()
Symbol
' attribute is set.
unsetSymbol()
,
getSymbol()
,
setSymbol(String)
org.eclipse.emf.common.util.EList<ValueSpecification> getOperands()
ValueSpecification
.
This feature subsets the following features:
Specifies a sequence of operand ValueSpecifications.From package UML::Values.
UMLPackage.getExpression_Operand()
ValueSpecification createOperand(java.lang.String name, Type type, org.eclipse.emf.ecore.EClass eClass)
ValueSpecification
, with the specified 'Name', and 'Type', and appends it to the 'Operand' containment reference list.
name
- The 'Name' for the new ValueSpecification
, or null
.type
- The 'Type' for the new ValueSpecification
, or null
.eClass
- The Ecore class of the ValueSpecification
to create.
ValueSpecification
.getOperands()
ValueSpecification getOperand(java.lang.String name, Type type)
ValueSpecification
with the specified 'Name', and 'Type' from the 'Operand' containment reference list.
name
- The 'Name' of the ValueSpecification
to retrieve, or null
.type
- The 'Type' of the ValueSpecification
to retrieve, or null
.
ValueSpecification
with the specified 'Name', and 'Type', or null
.getOperands()
ValueSpecification getOperand(java.lang.String name, Type type, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass, boolean createOnDemand)
ValueSpecification
with the specified 'Name', and 'Type' from the 'Operand' containment reference list.
name
- The 'Name' of the ValueSpecification
to retrieve, or null
.type
- The 'Type' of the ValueSpecification
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the ValueSpecification
to retrieve, or null
.createOnDemand
- Whether to create a ValueSpecification
on demand if not found.
ValueSpecification
with the specified 'Name', and 'Type', or null
.getOperands()
|
Copyright 2003, 2014 IBM Corporation, CEA, and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |