public static final class GenerationState.PendingState extends GenerationState
GenerationState.PendingState
PERSISTED
Constructor and Description |
---|
PendingState() |
Modifier and Type | Method and Description |
---|---|
<E> void |
addPendingUpdate(E entity,
Property<E,?> property,
Object... arguments)
Adds an entity that has to be updated, as soon as the associated entity (of this state) was written.
|
<E> List<EntityStatement> |
generatePendingStatements(Object entity)
Generates the update statements for all entities that are required after the given entity was generated.
|
public <E> void addPendingUpdate(E entity, Property<E,?> property, Object... arguments)
entity
- the entity to updateproperty
- the property to writearguments
- additional arguments to rememberpublic <E> List<EntityStatement> generatePendingStatements(Object entity)
entity
- the entity that exists now in the databaseCopyright © 2016 fastnate.org. All rights reserved.