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

public class Qualifier extends Object
Qualifier of DB row. It uses PK and optimistic lock qualifier if any.
Since:
4.2
  • Field Details

    • row

      protected final DbRowOp row
    • additionalQualifier

      protected Map<DbAttribute,Object> additionalQualifier
    • nullNames

      protected List<String> nullNames
    • optimisticLock

      protected boolean optimisticLock
  • Constructor Details

    • Qualifier

      protected Qualifier(DbRowOp row)
  • Method Details

    • getSnapshot

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

      public List<DbAttribute> getQualifierAttributes()
    • getNullQualifierNames

      public Collection<String> getNullQualifierNames()
    • addAdditionalQualifier

      public void addAdditionalQualifier(DbAttribute dbAttribute, Object value)
    • addAdditionalQualifier

      public void addAdditionalQualifier(DbAttribute dbAttribute, Object value, boolean optimisticLock)
    • isUsingOptimisticLocking

      public boolean isUsingOptimisticLocking()
    • isSameBatch

      public boolean isSameBatch(Qualifier other)