Package cern.nxcals.api.domain
Class EntityChangelog.Builder
- java.lang.Object
-
- cern.nxcals.api.domain.EntityChangelog.Builder
-
- Direct Known Subclasses:
EntityChangelog.InnerBuilder
- Enclosing class:
- EntityChangelog
public static class EntityChangelog.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityChangelog
build()
EntityChangelog.Builder
clientInfo(java.lang.String clientInfo)
EntityChangelog.Builder
createTimeUtc(java.time.Instant createTimeUtc)
EntityChangelog.Builder
entityId(long entityId)
EntityChangelog.Builder
newKeyValues(java.util.Map<java.lang.String,java.lang.Object> newKeyValues)
EntityChangelog.Builder
newLockedUntilStamp(java.time.Instant newLockedUntilStamp)
EntityChangelog.Builder
newPartitionId(java.lang.Long newPartitionId)
EntityChangelog.Builder
newSystemId(java.lang.Long newSystemId)
EntityChangelog.Builder
oldKeyValues(java.util.Map<java.lang.String,java.lang.Object> oldKeyValues)
EntityChangelog.Builder
oldLockedUntilStamp(java.time.Instant oldLockedUntilStamp)
EntityChangelog.Builder
oldPartitionId(java.lang.Long oldPartitionId)
EntityChangelog.Builder
oldSystemId(java.lang.Long oldSystemId)
EntityChangelog.Builder
opType(OperationType opType)
java.lang.String
toString()
-
-
-
Method Detail
-
entityId
public EntityChangelog.Builder entityId(long entityId)
- Returns:
this
.
-
oldKeyValues
public EntityChangelog.Builder oldKeyValues(java.util.Map<java.lang.String,java.lang.Object> oldKeyValues)
- Returns:
this
.
-
newKeyValues
public EntityChangelog.Builder newKeyValues(java.util.Map<java.lang.String,java.lang.Object> newKeyValues)
- Returns:
this
.
-
oldPartitionId
public EntityChangelog.Builder oldPartitionId(java.lang.Long oldPartitionId)
- Returns:
this
.
-
newPartitionId
public EntityChangelog.Builder newPartitionId(java.lang.Long newPartitionId)
- Returns:
this
.
-
oldSystemId
public EntityChangelog.Builder oldSystemId(java.lang.Long oldSystemId)
- Returns:
this
.
-
newSystemId
public EntityChangelog.Builder newSystemId(java.lang.Long newSystemId)
- Returns:
this
.
-
newLockedUntilStamp
public EntityChangelog.Builder newLockedUntilStamp(java.time.Instant newLockedUntilStamp)
- Returns:
this
.
-
oldLockedUntilStamp
public EntityChangelog.Builder oldLockedUntilStamp(java.time.Instant oldLockedUntilStamp)
- Returns:
this
.
-
createTimeUtc
public EntityChangelog.Builder createTimeUtc(java.time.Instant createTimeUtc)
- Returns:
this
.
-
opType
public EntityChangelog.Builder opType(OperationType opType)
- Returns:
this
.
-
clientInfo
public EntityChangelog.Builder clientInfo(java.lang.String clientInfo)
- Returns:
this
.
-
build
public EntityChangelog build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-