Class BambooEntityOidUserType
java.lang.Object
com.atlassian.bamboo.persistence3.ConvertibleToLongUserType<BambooEntityOid>
com.atlassian.bamboo.persistence3.BambooEntityOidUserType
- All Implemented Interfaces:
Serializable
,org.hibernate.usertype.UserType
Hibernate type for storing
BambooEntityOid
field. Semantic wrapper for long value.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull BambooEntityOid
fromLong
(long oid) long
toLong
(@NotNull BambooEntityOid entityOid) Methods inherited from class com.atlassian.bamboo.persistence3.ConvertibleToLongUserType
assemble, deepCopy, disassemble, equals, hashCode, isMutable, nullSafeGet, nullSafeSet, replace, returnedClass, sqlTypes
-
Constructor Details
-
BambooEntityOidUserType
public BambooEntityOidUserType()
-
-
Method Details
-
fromLong
- Specified by:
fromLong
in classConvertibleToLongUserType<BambooEntityOid>
-
toLong
- Specified by:
toLong
in classConvertibleToLongUserType<BambooEntityOid>
-