public abstract static class EntityUpdate.Builder<E extends Entity<?,?>,W extends EntityModification<?,?,E,?>,WB extends EntityModification.EntityModificationBuilder<?,?,E,?,W,WB>,U extends EntityUpdate<?>,SELF extends EntityUpdate.Builder<E,W,WB,U,SELF>> extends Object
Modifier and Type | Field and Description |
---|---|
protected GlobalId |
globalId |
protected WB |
modificationBuilder |
protected E |
originalEntity |
Modifier | Constructor and Description |
---|---|
protected |
Builder(GlobalId globalId,
WB modificationBuilder,
E originalEntity) |
Modifier and Type | Method and Description |
---|---|
abstract U |
build()
Constructs an immutable update from the collected changes.
|
protected abstract SELF |
getThis()
Returns a type-safe version of this for use in the builder API.
|
void |
reset() |
protected final GlobalId globalId
protected final WB extends EntityModification.EntityModificationBuilder<?,?,E,?,W,WB> modificationBuilder
public final void reset()
public abstract U build()
protected abstract SELF getThis()
Copyright © 2010 - 2018 edorasware ag. All Rights Reserved.