Package cern.nxcals.api.domain
Class EntityChangelog
- java.lang.Object
-
- cern.nxcals.api.domain.EntityChangelog
-
- All Implemented Interfaces:
Identifiable
public class EntityChangelog extends java.lang.Object implements Identifiable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EntityChangelog.Builder
static class
EntityChangelog.InnerBuilder
-
Field Summary
-
Fields inherited from interface cern.nxcals.api.domain.Identifiable
NOT_SET
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EntityChangelog.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.String
getClientInfo()
java.time.Instant
getCreateTimeUtc()
long
getEntityId()
long
getId()
java.util.Map<java.lang.String,java.lang.Object>
getNewKeyValues()
java.time.Instant
getNewLockedUntilStamp()
java.lang.Long
getNewPartitionId()
java.lang.Long
getNewSystemId()
java.util.Map<java.lang.String,java.lang.Object>
getOldKeyValues()
java.time.Instant
getOldLockedUntilStamp()
java.lang.Long
getOldPartitionId()
java.lang.Long
getOldSystemId()
OperationType
getOpType()
int
hashCode()
void
setClientInfo(java.lang.String clientInfo)
void
setCreateTimeUtc(java.time.Instant createTimeUtc)
void
setEntityId(long entityId)
void
setNewKeyValues(java.util.Map<java.lang.String,java.lang.Object> newKeyValues)
void
setNewLockedUntilStamp(java.time.Instant newLockedUntilStamp)
void
setNewPartitionId(java.lang.Long newPartitionId)
void
setNewSystemId(java.lang.Long newSystemId)
void
setOldKeyValues(java.util.Map<java.lang.String,java.lang.Object> oldKeyValues)
void
setOldLockedUntilStamp(java.time.Instant oldLockedUntilStamp)
void
setOldPartitionId(java.lang.Long oldPartitionId)
void
setOldSystemId(java.lang.Long oldSystemId)
void
setOpType(OperationType opType)
EntityChangelog.Builder
toBuilder()
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface cern.nxcals.api.domain.Identifiable
hasId
-
-
-
-
Method Detail
-
toBuilder
public EntityChangelog.Builder toBuilder()
-
builder
public static EntityChangelog.Builder builder()
-
getId
public long getId()
- Specified by:
getId
in interfaceIdentifiable
-
getEntityId
public long getEntityId()
-
getOldKeyValues
public java.util.Map<java.lang.String,java.lang.Object> getOldKeyValues()
-
getNewKeyValues
public java.util.Map<java.lang.String,java.lang.Object> getNewKeyValues()
-
getOldPartitionId
public java.lang.Long getOldPartitionId()
-
getNewPartitionId
public java.lang.Long getNewPartitionId()
-
getOldSystemId
public java.lang.Long getOldSystemId()
-
getNewSystemId
public java.lang.Long getNewSystemId()
-
getNewLockedUntilStamp
public java.time.Instant getNewLockedUntilStamp()
-
getOldLockedUntilStamp
public java.time.Instant getOldLockedUntilStamp()
-
getCreateTimeUtc
public java.time.Instant getCreateTimeUtc()
-
getOpType
public OperationType getOpType()
-
getClientInfo
public java.lang.String getClientInfo()
-
setEntityId
public void setEntityId(long entityId)
-
setOldKeyValues
public void setOldKeyValues(java.util.Map<java.lang.String,java.lang.Object> oldKeyValues)
-
setNewKeyValues
public void setNewKeyValues(java.util.Map<java.lang.String,java.lang.Object> newKeyValues)
-
setOldPartitionId
public void setOldPartitionId(java.lang.Long oldPartitionId)
-
setNewPartitionId
public void setNewPartitionId(java.lang.Long newPartitionId)
-
setOldSystemId
public void setOldSystemId(java.lang.Long oldSystemId)
-
setNewSystemId
public void setNewSystemId(java.lang.Long newSystemId)
-
setNewLockedUntilStamp
public void setNewLockedUntilStamp(java.time.Instant newLockedUntilStamp)
-
setOldLockedUntilStamp
public void setOldLockedUntilStamp(java.time.Instant oldLockedUntilStamp)
-
setCreateTimeUtc
public void setCreateTimeUtc(java.time.Instant createTimeUtc)
-
setOpType
public void setOpType(OperationType opType)
-
setClientInfo
public void setClientInfo(java.lang.String clientInfo)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-