Interface CharacterLiteral
-
- All Superinterfaces:
AdditiveExpressionChild,AndExpressionChild,AnnotationValue,ArrayInitializationValue,AssignmentExpressionChild,Commentable,ConditionalAndExpressionChild,ConditionalExpressionChild,ConditionalOrExpressionChild,EObject,EqualityExpressionChild,ExclusiveOrExpressionChild,Expression,InclusiveOrExpressionChild,InstanceOfExpressionChild,LambdaBody,Literal,MethodReferenceExpressionChild,MultiplicativeExpressionChild,Notifier,PrimaryExpression,RelationExpressionChild,ShiftExpressionChild,UnaryExpressionChild,UnaryModificationExpressionChild
- All Known Implementing Classes:
CharacterLiteralImpl
public interface CharacterLiteral extends Literal
A representation of the model object 'Character Literal'.The following features are supported:
- See Also:
LiteralsPackage.getCharacterLiteral()- Generated class or method.
- EMF model class or method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetValue()Returns the value of the 'Value' attribute.voidsetValue(String value)Sets the value of the 'Value' attribute.-
Methods inherited from interface org.emftext.language.java.commons.Commentable
addAfterContainingStatement, addBeforeContainingStatement, getAnnotationInterface, getChildrenByEType, getChildrenByType, getClassClass, getConcreteClassifier, getConcreteClassifiers, getContainingAnnotationInstance, getContainingAnonymousClass, getContainingCompilationUnit, getContainingConcreteClassifier, getContainingContainerName, getContainingPackageName, getFirstChildByEType, getFirstChildByType, getLayoutInformations, getLibClass, getLibInterface, getObjectClass, getParentByEType, getParentByType, getParentConcreteClassifier, getStringClass
-
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.emftext.language.java.expressions.Expression
getAlternativeType, getArrayDimension, getOneTypeReference, getType
-
Methods inherited from interface org.emftext.language.java.literals.Literal
getOneType
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Method Detail
-
getValue
String getValue()
Returns the value of the 'Value' attribute.- Returns:
- the value of the 'Value' attribute.
- See Also:
setValue(String),LiteralsPackage.getCharacterLiteral_Value()- Generated class or method.
- EMF model class or method.
- required="true"
-
setValue
void setValue(String value)
Sets the value of the 'Value' attribute.- Parameters:
value- the new value of the 'Value' attribute.- See Also:
getValue()- Generated class or method.
-
-