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 storingBambooEntityOidfield. 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 BambooEntityOidfromLong(long oid)longtoLong(@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:
fromLongin classConvertibleToLongUserType<BambooEntityOid>
-
toLong
public long toLong(@NotNull @NotNull BambooEntityOid entityOid)- Specified by:
toLongin classConvertibleToLongUserType<BambooEntityOid>
-
-