|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 which are value specifications.
The following features are supported:
UML2Package.getExpression()
Field Summary | |
static String |
copyright
|
Fields inherited from interface org.eclipse.uml2.NamedElement |
SEPARATOR |
Method Summary | |
ValueSpecification |
createOperand(EClass eClass)
Creates a ValueSpecification and appends it to the 'Operand' containment reference list |
ValueSpecification |
getOperand(String unqualifiedName)
Retrieves the ValueSpecification with the specified name from the 'Operand' containment reference list |
EList |
getOperands()
Returns the value of the 'Operand' containment reference list. |
EList |
getOwnedElements()
|
String |
getSymbol()
Returns the value of the 'Symbol' attribute. |
void |
setSymbol(String value)
Sets the value of the ' Symbol ' attribute |
Methods inherited from interface org.eclipse.uml2.OpaqueExpression |
getBehavior, getBody, getLanguage, getResult, setBehavior, setBody, setLanguage |
Methods inherited from interface org.eclipse.uml2.ValueSpecification |
booleanValue, integerValue, isComputable, isNull, stringValue, unlimitedValue |
Methods inherited from interface org.eclipse.uml2.TypedElement |
getType, setType |
Methods inherited from interface org.eclipse.uml2.NamedElement |
allNamespaces, createNameExpression, getClientDependencies, getClientDependency, getName, getNameExpression, getNamespace, getOwner, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership |
Methods inherited from interface org.eclipse.uml2.TemplateableElement |
createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature |
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.EModelElement |
getEAnnotation, getEAnnotations |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.uml2.ParameterableElement |
getOwner, getOwningParameter, getTemplateParameter, setOwningParameter, setTemplateParameter |
Field Detail |
public static final String copyright
Method Detail |
public String getSymbol()
""
.
If the meaning of the 'Symbol' attribute isn't clear, there really should be more of a description here...
The symbol associated with the node in the expression tree.
setSymbol(String)
,
UML2Package.getExpression_Symbol()
public void setSymbol(String value)
Symbol
' attribute.
value
- the new value of the 'Symbol' attribute.getSymbol()
public EList getOperands()
ValueSpecification
.
If the meaning of the 'Operand' containment reference list isn't clear, there really should be more of a description here...
Specifies a sequence of operands. Subsets Element::ownedElement.
UML2Package.getExpression_Operand()
public ValueSpecification getOperand(String unqualifiedName)
ValueSpecification
with the specified name from the 'Operand' containment reference list.
unqualifiedName
- The unqualified name of the ValueSpecification
to retrieve.
ValueSpecification
with the specified name, or null
.getOperands()
public ValueSpecification createOperand(EClass eClass)
ValueSpecification
and appends it to the 'Operand' containment reference list.
eClass
- The Ecore class of the ValueSpecification
to create.
ValueSpecification
.getOperands()
public EList getOwnedElements()
getOwnedElements
in interface NamedElement
|
Copyright 2003, 2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |