org.eclipse.xtext.xtend2.richstring
Interface Literal

All Superinterfaces:
org.eclipse.emf.ecore.EObject, LinePart, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
LineBreak
All Known Implementing Classes:
LineBreakImpl, LiteralImpl

public interface Literal
extends LinePart

A representation of the model object 'Literal'.

The following features are supported:

See Also:
ProcessedRichStringPackage.getLiteral()
EMF generated code
EMF model element

Method Summary
 int getLength()
          Returns the value of the 'Length' attribute
 RichStringLiteral getLiteral()
          Returns the value of the 'Literal' reference
 int getOffset()
          Returns the value of the 'Offset' attribute
 void setLength(int value)
          Sets the value of the 'Length' attribute
 void setLiteral(RichStringLiteral value)
          Sets the value of the 'Literal' reference
 void setOffset(int value)
          Sets the value of the 'Offset' attribute
 
Methods inherited from interface org.eclipse.xtext.xtend2.richstring.LinePart
getLine, setLine
 
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

getLiteral

RichStringLiteral getLiteral()
Returns the value of the 'Literal' reference.

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

Returns:
the value of the 'Literal' reference.
See Also:
setLiteral(RichStringLiteral), ProcessedRichStringPackage.getLiteral_Literal()
EMF generated code
EMF model element

setLiteral

void setLiteral(RichStringLiteral value)
Sets the value of the 'Literal' reference.

Parameters:
value - the new value of the 'Literal' reference.
See Also:
getLiteral()
EMF generated code

getOffset

int getOffset()
Returns the value of the 'Offset' attribute.

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

Returns:
the value of the 'Offset' attribute.
See Also:
setOffset(int), ProcessedRichStringPackage.getLiteral_Offset()
EMF generated code
EMF model element

setOffset

void setOffset(int value)
Sets the value of the 'Offset' attribute.

Parameters:
value - the new value of the 'Offset' attribute.
See Also:
getOffset()
EMF generated code

getLength

int getLength()
Returns the value of the 'Length' attribute.

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

Returns:
the value of the 'Length' attribute.
See Also:
setLength(int), ProcessedRichStringPackage.getLiteral_Length()
EMF generated code
EMF model element

setLength

void setLength(int value)
Sets the value of the 'Length' attribute.

Parameters:
value - the new value of the 'Length' attribute.
See Also:
getLength()
EMF generated code