Class InsertDbRowOp
- java.lang.Object
-
- org.apache.cayenne.access.flush.operation.BaseDbRowOp
-
- org.apache.cayenne.access.flush.operation.InsertDbRowOp
-
- All Implemented Interfaces:
DbRowOp
,DbRowOpWithValues
public class InsertDbRowOp extends BaseDbRowOp implements DbRowOpWithValues
- Since:
- 4.2
-
-
Constructor Summary
Constructors Constructor Description InsertDbRowOp(Persistent object, DbEntity entity, ObjectId id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
accept(DbRowOpVisitor<T> visitor)
boolean
equals(Object o)
Values
getValues()
boolean
isSameBatch(DbRowOp rowOp)
String
toString()
-
Methods inherited from class org.apache.cayenne.access.flush.operation.BaseDbRowOp
getChangeId, getEntity, getObject, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.cayenne.access.flush.operation.DbRowOp
getChangeId, getEntity, getObject
-
-
-
-
Field Detail
-
values
protected final Values values
-
-
Constructor Detail
-
InsertDbRowOp
public InsertDbRowOp(Persistent object, DbEntity entity, ObjectId id)
-
-
Method Detail
-
accept
public <T> T accept(DbRowOpVisitor<T> visitor)
-
getValues
public Values getValues()
- Specified by:
getValues
in interfaceDbRowOpWithValues
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classBaseDbRowOp
-
isSameBatch
public boolean isSameBatch(DbRowOp rowOp)
- Specified by:
isSameBatch
in interfaceDbRowOp
- Parameters:
rowOp
- to check- Returns:
- is this and rowOp operations belong to same sql batch
-
toString
public String toString()
- Overrides:
toString
in classBaseDbRowOp
-
-