Package com._1c.g5.v8.dt.lcore.model
Interface NumberType
-
- All Superinterfaces:
BasicType
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
NumberTypeImpl
public interface NumberType extends BasicType
A representation of the model object 'Number Type'.The following features are supported:
- See Also:
LcorePackage.getNumberType()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getPrecision()
Returns the value of the 'Precision' attribute.int
getScale()
Returns the value of the 'Scale' attribute.boolean
isNonNegative()
Returns the value of the 'Non Negative' attribute.void
setNonNegative(boolean value)
Sets the value of the 'Non Negative
' attribute.void
setPrecision(int value)
Sets the value of the 'Precision
' attribute.void
setScale(int value)
Sets the value of the 'Scale
' attribute.
-
-
-
Method Detail
-
getPrecision
int getPrecision()
Returns the value of the 'Precision' attribute.- Returns:
- the value of the 'Precision' attribute.
- See Also:
setPrecision(int)
,LcorePackage.getNumberType_Precision()
-
setPrecision
void setPrecision(int value)
Sets the value of the 'Precision
' attribute.- Parameters:
value
- the new value of the 'Precision' attribute.- See Also:
getPrecision()
-
getScale
int getScale()
Returns the value of the 'Scale' attribute.- Returns:
- the value of the 'Scale' attribute.
- See Also:
setScale(int)
,LcorePackage.getNumberType_Scale()
-
setScale
void setScale(int value)
Sets the value of the 'Scale
' attribute.- Parameters:
value
- the new value of the 'Scale' attribute.- See Also:
getScale()
-
isNonNegative
boolean isNonNegative()
Returns the value of the 'Non Negative' attribute.- Returns:
- the value of the 'Non Negative' attribute.
- See Also:
setNonNegative(boolean)
,LcorePackage.getNumberType_NonNegative()
-
setNonNegative
void setNonNegative(boolean value)
Sets the value of the 'Non Negative
' attribute.- Parameters:
value
- the new value of the 'Non Negative' attribute.- See Also:
isNonNegative()
-
-