|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.spicefactory.pimento.io.TypeHandler<TypeSnapshot,Embeddable>
org.spicefactory.pimento.io.EmbeddableHandler
public class EmbeddableHandler
Responsible for managing a particular embeddable type.
| Constructor Summary | |
|---|---|
EmbeddableHandler(Object instance,
Embeddable embeddable)
Creates a new instance. |
|
EmbeddableHandler(Object instance,
Embeddable embeddable,
TypeSnapshot snapshot,
EntityState state)
Creates a new instance. |
|
| Method Summary | |
|---|---|
void |
applyUpdates(PropertyChangeSet changeSet)
Applies the specified change set to the entity managed by this instance. |
PropertyChangeSet |
prepareChangeSet(SnapshotDecoder decoder)
Prepares a change set that may later be applied to the snapshot and entity. |
| Methods inherited from class org.spicefactory.pimento.io.TypeHandler |
|---|
assertUpdatePermitted, getInstance, getSnapshot, getState, getType, getValueForSnapshot, populateSnapshot, populateSnapshot |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EmbeddableHandler(Object instance,
Embeddable embeddable)
instance - the embeddable instanceembeddable - the metamodel of the embeddable
public EmbeddableHandler(Object instance,
Embeddable embeddable,
TypeSnapshot snapshot,
EntityState state)
instance - the embeddable instanceembeddable - the metamodel of the embeddablesnapshot - the snapshot representation of the embeddablestate - the state of the owning entity of this embeddable| Method Detail |
|---|
public PropertyChangeSet prepareChangeSet(SnapshotDecoder decoder)
TypeHandler
prepareChangeSet in class TypeHandler<TypeSnapshot,Embeddable>decoder - the decoder to use for decoding associations
public void applyUpdates(PropertyChangeSet changeSet)
TypeHandler
applyUpdates in class TypeHandler<TypeSnapshot,Embeddable>changeSet - the change set to apply
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||