Class Values
java.lang.Object
org.apache.cayenne.access.flush.operation.Values
Collection of values that should be inserted or updated in DB.
- Since:
- 4.2
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map<CayennePath,ObjectId> protected final booleanprotected final DbRowOpprotected List<DbAttribute> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFlattenedId(CayennePath path, ObjectId id) voidaddValue(DbAttribute attribute, Object value, boolean fk) voidclear()booleanisEmpty()booleanisSameBatch(Values other) void
-
Field Details
-
row
-
includeId
protected final boolean includeId -
attributeSnapshot
-
fkSnapshot
-
updatedAttributes
-
flattenedIds
-
-
Constructor Details
-
Values
-
-
Method Details
-
addValue
-
merge
-
addFlattenedId
-
getSnapshot
-
getUpdatedAttributes
-
getFlattenedIds
-
isEmpty
public boolean isEmpty() -
clear
public void clear() -
isSameBatch
-