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 AbstractTypeHandler
baseHandler, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanisEqual(BigDecimal left, BigDecimal right) booleanMethods inherited from class AbstractComparableTypeHandler
compareMethods inherited from class AbstractTypeHandler
asString, contains, init, isBoolean, isolate, matches, shouldBeUnique, validateMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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:
-