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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanisEqual(BigDecimal left, BigDecimal right) booleanMethods inherited from class ch.tocco.nice2.types.spi.AbstractComparableTypeHandler
compareMethods inherited from class ch.tocco.nice2.types.spi.AbstractTypeHandler
asString, contains, init, isBoolean, isolate, matches, shouldBeUnique, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.tocco.nice2.types.spi.TypeHandler
getGenerationType
-
Constructor Details
-
BigDecimalTypeHandler
public BigDecimalTypeHandler()
-
-
Method Details
-
asObject
- Throws:
StringConversionException
-
isEqual
- Specified by:
isEqualin interfaceTypeHandler<BigDecimal>- Overrides:
isEqualin classAbstractTypeHandler<BigDecimal>- Returns:
- true if both values are equal
-
isNumeric
public boolean isNumeric()- See Also:
-
isChronological
public boolean isChronological()- See Also:
-
getEmptyValue
- See Also:
-