Class BigIntegerDatatype
java.lang.Object
io.jmix.core.metamodel.datatype.impl.NumberDatatype
io.jmix.core.metamodel.datatype.impl.BigIntegerDatatype
- All Implemented Interfaces:
Datatype<BigInteger>
,ParameterizedDatatype
-
Field Summary
Fields inherited from class io.jmix.core.metamodel.datatype.impl.NumberDatatype
decimalSeparator, formatPattern, groupingSeparator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected NumberFormat
Creates non-localized format.Converts value to String.Converts value to String taking into account local formats.Parses value from StringParses value from String taking into account local formatstoString()
Methods inherited from class io.jmix.core.metamodel.datatype.impl.NumberDatatype
getParameters, parse
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.jmix.core.metamodel.datatype.Datatype
getId, getJavaClass
-
Field Details
-
formatStringsRegistry
-
-
Constructor Details
-
BigIntegerDatatype
public BigIntegerDatatype()
-
-
Method Details
-
createFormat
Description copied from class:NumberDatatype
Creates non-localized format.- Overrides:
createFormat
in classNumberDatatype
-
format
Description copied from interface:Datatype
Converts value to String. Returns an empty string for null value.- Specified by:
format
in interfaceDatatype<BigInteger>
-
format
Description copied from interface:Datatype
Converts value to String taking into account local formats. Returns an empty string for null value.- Specified by:
format
in interfaceDatatype<BigInteger>
-
parse
Description copied from interface:Datatype
Parses value from String- Specified by:
parse
in interfaceDatatype<BigInteger>
- Throws:
ParseException
-
parse
Description copied from interface:Datatype
Parses value from String taking into account local formats- Specified by:
parse
in interfaceDatatype<BigInteger>
- Throws:
ParseException
-
toString
-