public class Values extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
attributeSnapshot |
protected Map<String,Object> |
fkSnapshot |
protected Map<String,ObjectId> |
flattenedIds |
protected boolean |
includeId |
protected DbRowOp |
row |
protected List<DbAttribute> |
updatedAttributes |
Modifier and Type | Method and Description |
---|---|
void |
addFlattenedId(String path,
ObjectId id) |
void |
addValue(DbAttribute attribute,
Object value,
boolean fk) |
void |
clear() |
Map<String,ObjectId> |
getFlattenedIds() |
Map<String,Object> |
getSnapshot() |
List<DbAttribute> |
getUpdatedAttributes() |
boolean |
isEmpty() |
boolean |
isSameBatch(Values other) |
void |
merge(Values other) |
protected final DbRowOp row
protected final boolean includeId
protected List<DbAttribute> updatedAttributes
public Values(DbRowOp row, boolean includeId)
public void addValue(DbAttribute attribute, Object value, boolean fk)
public void merge(Values other)
public List<DbAttribute> getUpdatedAttributes()
public boolean isEmpty()
public void clear()
public boolean isSameBatch(Values other)
Copyright © 2001–2020 Apache Cayenne. All rights reserved.