Class EntityModification
- java.lang.Object
-
- ydocumentcartpackage.persistence.polyglot.repository.documentcart.EntityModification
-
-
Constructor Summary
Constructors Constructor Description EntityModification(Identity id, Document document)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidforEveryChange(java.util.function.BiConsumer<SingleAttributeKey,java.lang.Object> consumer)static java.util.Optional<EntityModification>from(ChangeSet changeSet)DocumentgetDocument()IdentitygetId()voidset(SingleAttributeKey key, java.lang.Object value)
-
-
-
Method Detail
-
from
public static java.util.Optional<EntityModification> from(ChangeSet changeSet)
-
getId
public Identity getId()
-
getDocument
public Document getDocument()
-
set
public void set(SingleAttributeKey key, java.lang.Object value)
-
forEveryChange
public void forEveryChange(java.util.function.BiConsumer<SingleAttributeKey,java.lang.Object> consumer)
-
-