public class BeanDelta extends Object
| Constructor and Description |
|---|
BeanDelta(BeanDescriptor<?> beanDescriptor,
Object id) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(BeanDeltaProperty propertyDelta) |
void |
add(BeanProperty beanProperty,
Object value) |
void |
apply(Object bean) |
BeanDescriptor<?> |
getBeanDescriptor() |
Object |
getId() |
static BeanDelta |
readBinaryMessage(SpiEbeanServer server,
DataInput dataInput)
Read and return a BeanDelta from the binary input.
|
String |
toString() |
void |
writeBinaryMessage(BinaryMessageList msgList)
Write this bean delta in binary message format.
|
public BeanDelta(BeanDescriptor<?> beanDescriptor, Object id)
public BeanDescriptor<?> getBeanDescriptor()
public Object getId()
public void add(BeanProperty beanProperty, Object value)
public void add(BeanDeltaProperty propertyDelta)
public void apply(Object bean)
public static BeanDelta readBinaryMessage(SpiEbeanServer server, DataInput dataInput) throws IOException
IOExceptionpublic void writeBinaryMessage(BinaryMessageList msgList) throws IOException
IOExceptionCopyright © 2014. All Rights Reserved.