Class DateBasicUserType
java.lang.Object
com.blazebit.persistence.view.impl.type.DateBasicUserType
- All Implemented Interfaces:
BasicUserType<Date>,BasicUserTypeStringSupport<Date>,VersionBasicUserType<Date>
- Direct Known Subclasses:
TimestampBasicUserType
public class DateBasicUserType
extends Object
implements BasicUserType<Date>, VersionBasicUserType<Date>
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Field Summary
FieldsFields inherited from interface com.blazebit.persistence.view.spi.type.BasicUserType
DIRTY_MARKER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromString(CharSequence sequence) String[]getDirtyProperties(Date entity) intbooleanisDeepEqual(Date initial, Date current) booleanbooleanbooleanshouldPersist(Date entity) booleanbooleanbooleanbooleantoStringExpression(String expression)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
DateBasicUserType
public DateBasicUserType()
-
-
Method Details
-
isMutable
public boolean isMutable()- Specified by:
isMutablein interfaceBasicUserType<Date>
-
supportsDirtyChecking
public boolean supportsDirtyChecking()- Specified by:
supportsDirtyCheckingin interfaceBasicUserType<Date>
-
supportsDirtyTracking
public boolean supportsDirtyTracking()- Specified by:
supportsDirtyTrackingin interfaceBasicUserType<Date>
-
supportsDeepEqualChecking
public boolean supportsDeepEqualChecking()- Specified by:
supportsDeepEqualCheckingin interfaceBasicUserType<Date>
-
supportsDeepCloning
public boolean supportsDeepCloning()- Specified by:
supportsDeepCloningin interfaceBasicUserType<Date>
-
isEqual
- Specified by:
isEqualin interfaceBasicUserType<Date>
-
isDeepEqual
- Specified by:
isDeepEqualin interfaceBasicUserType<Date>
-
hashCode
- Specified by:
hashCodein interfaceBasicUserType<Date>
-
shouldPersist
- Specified by:
shouldPersistin interfaceBasicUserType<Date>
-
getDirtyProperties
- Specified by:
getDirtyPropertiesin interfaceBasicUserType<Date>
-
deepClone
- Specified by:
deepClonein interfaceBasicUserType<Date>
-
nextValue
- Specified by:
nextValuein interfaceVersionBasicUserType<Date>
-
fromString
- Specified by:
fromStringin interfaceBasicUserTypeStringSupport<Date>
-
toStringExpression
- Specified by:
toStringExpressionin interfaceBasicUserTypeStringSupport<Date>
-