org.eclipse.ocl.expressions
Interface BooleanLiteralExp<C>

All Superinterfaces:
ASTNode, LiteralExp<C>, OCLExpression<C>, PrimitiveLiteralExp<C>, TypedElement<C>, Visitable
All Known Subinterfaces:
BooleanLiteralExp, BooleanLiteralExp
All Known Implementing Classes:
BooleanLiteralExpImpl, BooleanLiteralExpImpl, BooleanLiteralExpImpl

public interface BooleanLiteralExp<C>
extends PrimitiveLiteralExp<C>

A representation of the model object 'Boolean Literal Exp'.

The following features are supported:

See Also:
ExpressionsPackage.getBooleanLiteralExp()

Method Summary
 boolean checkBooleanType(DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
          self.type.name = 'Boolean'
 java.lang.Boolean getBooleanSymbol()
          Returns the value of the 'Boolean Symbol' attribute
 void setBooleanSymbol(java.lang.Boolean value)
          Sets the value of the 'Boolean Symbol' attribute
 
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.ASTNode
getEndPosition, getStartPosition, setEndPosition, setStartPosition
 

Method Detail

getBooleanSymbol

java.lang.Boolean getBooleanSymbol()
Returns the value of the 'Boolean Symbol' attribute.

If the meaning of the 'Boolean Symbol' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Boolean Symbol' attribute.
See Also:
setBooleanSymbol(Boolean), ExpressionsPackage.getBooleanLiteralExp_BooleanSymbol()

setBooleanSymbol

void setBooleanSymbol(java.lang.Boolean value)
Sets the value of the 'Boolean Symbol' attribute.

Parameters:
value - the new value of the 'Boolean Symbol' attribute.
See Also:
getBooleanSymbol()

checkBooleanType

boolean checkBooleanType(DiagnosticChain diagnostics,
                         java.util.Map<java.lang.Object,java.lang.Object> context)
self.type.name = 'Boolean'

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

Copyright 2002, 2007 IBM Corporation and others.
All Rights Reserved.