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

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

public interface StringLiteralExp<C>
extends PrimitiveLiteralExp<C>

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

The following features are supported:

See Also:
ExpressionsPackage.getStringLiteralExp()

Method Summary
 boolean checkStringType(DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
          self.type.name = 'String'
 java.lang.String getStringSymbol()
          Returns the value of the 'String Symbol' attribute
 void setStringSymbol(java.lang.String value)
          Sets the value of the 'String 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

getStringSymbol

java.lang.String getStringSymbol()
Returns the value of the 'String Symbol' attribute.

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

Returns:
the value of the 'String Symbol' attribute.
See Also:
setStringSymbol(String), ExpressionsPackage.getStringLiteralExp_StringSymbol()

setStringSymbol

void setStringSymbol(java.lang.String value)
Sets the value of the 'String Symbol' attribute.

Parameters:
value - the new value of the 'String Symbol' attribute.
See Also:
getStringSymbol()

checkStringType

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

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.