Package cern.nxcals.api.domain
Class Entity.InnerBuilder
- java.lang.Object
-
- cern.nxcals.api.domain.Entity.Builder
-
- cern.nxcals.api.domain.Entity.InnerBuilder
-
- Enclosing class:
- Entity
public static class Entity.InnerBuilder extends Entity.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Entity
build()
Entity.InnerBuilder
entityHistory(java.util.SortedSet<EntityHistory> entityHistory)
Entity.InnerBuilder
entityKeyValues(java.util.Map<java.lang.String,java.lang.Object> entityKeyValues)
Entity.InnerBuilder
id(long id)
Entity.InnerBuilder
kafkaPartition(java.lang.Integer kafkaPartition)
Entity.InnerBuilder
lockedUntilStamp(java.time.Instant lockedUntilStamp)
Entity.InnerBuilder
partition(Partition partition)
Entity.InnerBuilder
recVersion(long recVersion)
Entity.InnerBuilder
systemSpec(SystemSpec systemSpec)
java.lang.String
toString()
Entity.InnerBuilder
unlock()
-
-
-
Method Detail
-
unlock
public Entity.InnerBuilder unlock()
- Overrides:
unlock
in classEntity.Builder
-
id
public Entity.InnerBuilder id(long id)
- Returns:
this
.
-
entityKeyValues
public Entity.InnerBuilder entityKeyValues(java.util.Map<java.lang.String,java.lang.Object> entityKeyValues)
- Overrides:
entityKeyValues
in classEntity.Builder
- Returns:
this
.
-
systemSpec
public Entity.InnerBuilder systemSpec(SystemSpec systemSpec)
- Overrides:
systemSpec
in classEntity.Builder
- Returns:
this
.
-
partition
public Entity.InnerBuilder partition(Partition partition)
- Overrides:
partition
in classEntity.Builder
- Returns:
this
.
-
entityHistory
public Entity.InnerBuilder entityHistory(java.util.SortedSet<EntityHistory> entityHistory)
- Overrides:
entityHistory
in classEntity.Builder
- Returns:
this
.
-
lockedUntilStamp
public Entity.InnerBuilder lockedUntilStamp(java.time.Instant lockedUntilStamp)
- Overrides:
lockedUntilStamp
in classEntity.Builder
- Returns:
this
.
-
recVersion
public Entity.InnerBuilder recVersion(long recVersion)
- Returns:
this
.
-
kafkaPartition
public Entity.InnerBuilder kafkaPartition(java.lang.Integer kafkaPartition)
- Returns:
this
.
-
build
public Entity build()
- Overrides:
build
in classEntity.Builder
-
toString
public java.lang.String toString()
- Overrides:
toString
in classEntity.Builder
-
-