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.XNumberLiteral
getValue()
Returns the value of the 'Value' containment reference.boolean
isNegative()
Returns the value of the 'Negative' attribute.void
setNegative(boolean value)
Sets the value of the 'Negative
' attribute.void
setValue(org.eclipse.xtext.xbase.XNumberLiteral value)
Sets the value of the 'Value
' containment reference.java.lang.String
toString()
-
-
-
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:
toString
in interfaceExpression
- Specified by:
toString
in interfaceLiteralValueReference
- Specified by:
toString
in interfaceValueReference
- Overrides:
toString
in classjava.lang.Object
- Generated:
- Model:
-
-