java.lang.Object
org.apache.cayenne.access.flush.operation.Values

public class Values extends Object
Collection of values that should be inserted or updated in DB.
Since:
4.2
  • Field Details

  • Constructor Details

    • Values

      public Values(DbRowOp row, boolean includeId)
  • Method Details

    • addValue

      public void addValue(DbAttribute attribute, Object value, boolean fk)
    • merge

      public void merge(Values other)
    • addFlattenedId

      public void addFlattenedId(String path, ObjectId id)
    • getSnapshot

      public Map<String,Object> getSnapshot()
    • getUpdatedAttributes

      public List<DbAttribute> getUpdatedAttributes()
    • getFlattenedIds

      public Map<String,ObjectId> getFlattenedIds()
    • isEmpty

      public boolean isEmpty()
    • clear

      public void clear()
    • isSameBatch

      public boolean isSameBatch(Values other)