org.eclipse.ocl.expressions
Interface TupleLiteralPart<C,P>

All Superinterfaces:
ASTNode, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, TypedASTNode, TypedElement<C>, Visitable
All Known Subinterfaces:
TupleLiteralPart, TupleLiteralPart
All Known Implementing Classes:
TupleLiteralPartImpl, TupleLiteralPartImpl, TupleLiteralPartImpl

public interface TupleLiteralPart<C,P>
extends TypedElement<C>, Visitable, TypedASTNode

A representation of the model object 'Tuple Literal Part'.

The following features are supported:

See Also:
ExpressionsPackage.getTupleLiteralPart()
Generated
Model

Method Summary
 boolean checkValueType(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
          attribute.type = value.type
 P getAttribute()
          Returns the value of the 'Attribute' reference.
 OCLExpression<C> getValue()
          Returns the value of the 'Value' containment reference.
 void setAttribute(P value)
          Sets the value of the 'Attribute' reference.
 void setValue(OCLExpression<C> value)
          Sets the value of the 'Value' containment reference.
 
Methods inherited from interface org.eclipse.ocl.utilities.TypedElement
getName, getType, setName, setType
 
Methods inherited from interface org.eclipse.ocl.utilities.Visitable
accept
 
Methods inherited from interface org.eclipse.ocl.utilities.TypedASTNode
getTypeEndPosition, getTypeStartPosition, setTypeEndPosition, setTypeStartPosition
 
Methods inherited from interface org.eclipse.ocl.utilities.ASTNode
getEndPosition, getStartPosition, setEndPosition, setStartPosition
 
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

getValue

OCLExpression<C> getValue()
Returns the value of the 'Value' containment reference.

If the meaning of the 'Value' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Value' containment reference.
See Also:
setValue(OCLExpression), ExpressionsPackage.getTupleLiteralPart_Value()
Generated
Model
containment="true"

setValue

void setValue(OCLExpression<C> value)
Sets the value of the 'Value' containment reference.

Parameters:
value - the new value of the 'Value' containment reference.
See Also:
getValue()
Generated

getAttribute

P getAttribute()
Returns the value of the 'Attribute' reference.

If the meaning of the 'Attribute' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Attribute' reference.
See Also:
setAttribute(Object), ExpressionsPackage.getTupleLiteralPart_Attribute()
Generated
Model
kind="reference"

setAttribute

void setAttribute(P value)
Sets the value of the 'Attribute' reference.

Parameters:
value - the new value of the 'Attribute' reference.
See Also:
getAttribute()
Generated

checkValueType

boolean checkValueType(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                       java.util.Map<java.lang.Object,java.lang.Object> context)
attribute.type = value.type

Parameters:
diagnostics - The chain of diagnostics to which problems are to be appended.
context - The cache of context-specific information.
Generated
Model