Class BigDecimalTypeHandler
java.lang.Object
ch.tocco.nice2.types.spi.AbstractTypeHandler<BigDecimal>
ch.tocco.nice2.types.spi.AbstractComparableTypeHandler<BigDecimal>
ch.tocco.nice2.types.impl.handlers.BigDecimalTypeHandler
- All Implemented Interfaces:
TypeHandler<BigDecimal>
- Direct Known Subclasses:
MoneyAmountTypeHandler
-
Field Summary
Fields inherited from class ch.tocco.nice2.types.spi.AbstractTypeHandler
baseHandler, type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
isEqual
(BigDecimal left, BigDecimal right) boolean
Methods inherited from class ch.tocco.nice2.types.spi.AbstractComparableTypeHandler
compare
Methods inherited from class ch.tocco.nice2.types.spi.AbstractTypeHandler
asString, contains, init, isBoolean, isolate, matches, shouldBeUnique, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.types.spi.TypeHandler
getGenerationType
-
Constructor Details
-
BigDecimalTypeHandler
public BigDecimalTypeHandler()
-
-
Method Details
-
asObject
- Throws:
StringConversionException
-
isEqual
- Specified by:
isEqual
in interfaceTypeHandler<BigDecimal>
- Overrides:
isEqual
in classAbstractTypeHandler<BigDecimal>
- Returns:
- true if both values are equal
-
isNumeric
public boolean isNumeric()- See Also:
-
isChronological
public boolean isChronological()- See Also:
-
getEmptyValue
- See Also:
-