Class SerialTypeHandler
java.lang.Object
ch.tocco.nice2.types.spi.TypeHandlerWrapper<Long>
ch.tocco.nice2.types.impl.handlers.SerialTypeHandler
- All Implemented Interfaces:
TypeHandler<Long>
-
Field Summary
Fields inherited from class ch.tocco.nice2.types.spi.TypeHandlerWrapper
baseHandler, type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
Methods inherited from class ch.tocco.nice2.types.spi.TypeHandlerWrapper
asObject, asString, compare, contains, getEmptyValue, init, invalid, invalid, isBoolean, isChronological, isEqual, isNumeric, isolate, matches
-
Constructor Details
-
SerialTypeHandler
public SerialTypeHandler()
-
-
Method Details
-
shouldBeUnique
public boolean shouldBeUnique()- Specified by:
shouldBeUnique
in interfaceTypeHandler<Long>
- Overrides:
shouldBeUnique
in classTypeHandlerWrapper<Long>
- See Also:
-
validate
public boolean validate(@Nullable @Nullable Long value, boolean exception) throws ValidationException - Specified by:
validate
in interfaceTypeHandler<Long>
- Overrides:
validate
in classTypeHandlerWrapper<Long>
- Throws:
ValidationException
- See Also:
-
getGenerationType
-