Interface NumberValue
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,Expression,LiteralValueReference,org.eclipse.emf.common.notify.Notifier,ValueReference
- All Known Implementing Classes:
NumberValueImpl
public interface NumberValue extends LiteralValueReference
A representation of the model object 'Number Value'.The following features are supported:
- See Also:
PatternLanguagePackage.getNumberValue()- Generated:
- Model:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.xtext.xbase.XNumberLiteralgetValue()Returns the value of the 'Value' containment reference.booleanisNegative()Returns the value of the 'Negative' attribute.voidsetNegative(boolean value)Sets the value of the 'Negative' attribute.voidsetValue(org.eclipse.xtext.xbase.XNumberLiteral value)Sets the value of the 'Value' containment reference.java.lang.StringtoString()
-
-
-
Method Detail
-
getValue
org.eclipse.xtext.xbase.XNumberLiteral getValue()
Returns the value of the 'Value' containment reference.- Returns:
- the value of the 'Value' containment reference.
- See Also:
setValue(XNumberLiteral),PatternLanguagePackage.getNumberValue_Value()- Generated:
- Model:
- containment="true"
-
setValue
void setValue(org.eclipse.xtext.xbase.XNumberLiteral value)
Sets the value of the 'Value' containment reference.- Parameters:
value- the new value of the 'Value' containment reference.- See Also:
getValue()- Generated:
-
isNegative
boolean isNegative()
Returns the value of the 'Negative' attribute. The default value is"false".- Returns:
- the value of the 'Negative' attribute.
- See Also:
setNegative(boolean),PatternLanguagePackage.getNumberValue_Negative()- Generated:
- Model:
- default="false"
-
setNegative
void setNegative(boolean value)
Sets the value of the 'Negative' attribute.- Parameters:
value- the new value of the 'Negative' attribute.- See Also:
isNegative()- Generated:
-
toString
java.lang.String toString()
- Specified by:
toStringin interfaceExpression- Specified by:
toStringin interfaceLiteralValueReference- Specified by:
toStringin interfaceValueReference- Overrides:
toStringin classjava.lang.Object- Generated:
- Model:
-
-