Class BambooEntityOidUserType
- java.lang.Object
-
- com.atlassian.bamboo.persistence3.ConvertibleToLongUserType<BambooEntityOid>
-
- com.atlassian.bamboo.persistence3.BambooEntityOidUserType
-
- All Implemented Interfaces:
Serializable
,org.hibernate.usertype.UserType
public class BambooEntityOidUserType extends ConvertibleToLongUserType<BambooEntityOid>
Hibernate type for storingBambooEntityOid
field. Semantic wrapper for long value.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BambooEntityOidUserType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @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
-
-
-
-
Method Detail
-
fromLong
@NotNull public @NotNull BambooEntityOid fromLong(long oid)
- Specified by:
fromLong
in classConvertibleToLongUserType<BambooEntityOid>
-
toLong
public long toLong(@NotNull @NotNull BambooEntityOid entityOid)
- Specified by:
toLong
in classConvertibleToLongUserType<BambooEntityOid>
-
-