@MappedSuperclass public abstract class HibernateBambooEntityWithOid extends BambooEntityWithOid
BambooEntityWithOid
.Constructor and Description |
---|
HibernateBambooEntityWithOid() |
Modifier and Type | Method and Description |
---|---|
long |
getId() |
BambooEntityOid |
getOid()
OID assigned to this object.
|
void |
setId(long id) |
void |
setOid(BambooEntityOid oid)
Assign a new
BambooEntityOid to this object. |
clone, equals, getCreationDate, getCurrentDate, getLastModificationDate, hashCode, setClock, setCreationDate, setLastModificationDate
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getEntityType
public long getId()
getId
in interface BambooIdProvider
getId
in class com.atlassian.core.bean.EntityObject
public void setId(long id)
setId
in interface BambooObject
setId
in class com.atlassian.core.bean.EntityObject
public BambooEntityOid getOid()
ImmutableEntityWithOid
BambooEntityOid.getEntityType()
should be the same as this object's
ImmutableEntityWithOid.getEntityType()
.getOid
in interface ImmutableEntityWithOid
getOid
in class BambooEntityWithOid
public void setOid(BambooEntityOid oid)
EntityWithOid
BambooEntityOid
to this object. The BambooEntityOid.getEntityType()
should be the
same as this object's ImmutableEntityWithOid.getEntityType()
.setOid
in interface EntityWithOid
setOid
in class BambooEntityWithOid
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.