org.eclipse.mofscript.MOFScriptModel
Interface Literal

All Superinterfaces:
org.eclipse.emf.ecore.EObject, Expression, MOFScriptObject, org.eclipse.emf.common.notify.Notifier, SimpleExpression, ValueExpression
All Known Implementing Classes:
LiteralImpl

public interface Literal
extends SimpleExpression

A representation of the model object 'Literal'.

The following features are supported:

See Also:
MOFScriptModelPackage.getLiteral()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 LiteralType getType()
          Returns the value of the 'Type' attribute.
 java.lang.String getValue()
          Returns the value of the 'Value' attribute.
 void setType(LiteralType value)
          Sets the value of the 'Type' attribute
 void setValue(java.lang.String value)
          Sets the value of the 'Value' attribute
 
Methods inherited from interface org.eclipse.mofscript.MOFScriptModel.SimpleExpression
getAdditionalExpressionPart
 
Methods inherited from interface org.eclipse.mofscript.MOFScriptModel.ValueExpression
getSpecification, setSpecification
 
Methods inherited from interface org.eclipse.mofscript.MOFScriptModel.MOFScriptObject
getColumn, getComment, getLine, setColumn, 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
 

Field Detail

copyright

static final java.lang.String copyright

See Also:
Constant Field Values
Method Detail

getType

LiteralType getType()
Returns the value of the 'Type' attribute. The literals are from the enumeration LiteralType.

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

Returns:
the value of the 'Type' attribute.
See Also:
LiteralType, setType(LiteralType), MOFScriptModelPackage.getLiteral_Type()

setType

void setType(LiteralType value)
Sets the value of the 'Type' attribute.

Parameters:
value - the new value of the 'Type' attribute.
See Also:
LiteralType, getType()

getValue

java.lang.String getValue()
Returns the value of the 'Value' attribute. The default value is "".

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

Returns:
the value of the 'Value' attribute.
See Also:
setValue(String), MOFScriptModelPackage.getLiteral_Value()

setValue

void setValue(java.lang.String value)
Sets the value of the 'Value' attribute.

Parameters:
value - the new value of the 'Value' attribute.
See Also:
getValue()