public abstract class EntityModification<E extends Entity,EB extends Entity.EntityBuilder<E,EB>> extends Object implements Iterable<String>
This class serves as the base for all entity modifications.
Modifier and Type | Class and Description |
---|---|
static class |
EntityModification.EntityModificationBuilder<E extends Entity,EB extends Entity.EntityBuilder<E,EB>,W extends EntityModification<E,EB>,SELF extends EntityModification.EntityModificationBuilder<E,EB,W,SELF>> |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(String field) |
Set<FieldChange> |
createFieldChanges(E entity) |
E |
createModified(E entity) |
EB |
createModifiedBuilder(E entity) |
<F> F |
get(String field,
Class<F> expectedType) |
boolean |
isEmpty() |
Iterator<String> |
iterator() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public boolean contains(String field)
public boolean isEmpty()
public final Set<FieldChange> createFieldChanges(E entity)
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.