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