类 SimpleSaveResult<E>
java.lang.Object
org.babyfish.jimmer.sql.ast.mutation.AbstractMutationResult
org.babyfish.jimmer.sql.ast.mutation.SimpleSaveResult<E>
- 所有已实现的接口:
MutationResult
-
字段概要
从类继承的字段 org.babyfish.jimmer.sql.ast.mutation.AbstractMutationResult
affectedRowCountMap, totalAffectedRowCount -
构造器概要
构造器构造器说明SimpleSaveResult(Map<AffectedTable, Integer> affectedRowCountMap, E originalEntity, E modifiedEntity) -
方法概要
修饰符和类型方法说明booleaninthashCode()booleanIf it is true, that means the save object is changed, such as, The id is assigned to generated value Version is increased The back reference of children of one-to-many association is set otherwise, thegetOriginalEntity()andgetModifiedEntity()should be same object.booleantoString()从类继承的方法 org.babyfish.jimmer.sql.ast.mutation.AbstractMutationResult
getAffectedRowCount, getAffectedRowCount, getAffectedRowCount, getAffectedRowCount, getAffectedRowCountMap, getTotalAffectedRowCount
-
构造器详细资料
-
SimpleSaveResult
public SimpleSaveResult(Map<AffectedTable, Integer> affectedRowCountMap, E originalEntity, E modifiedEntity)
-
-
方法详细资料
-
getOriginalEntity
-
getModifiedEntity
-
isModified
public boolean isModified()If it is true, that means the save object is changed, such as,- The id is assigned to generated value
- Version is increased
- The back reference of children of one-to-many association is set
getOriginalEntity()andgetModifiedEntity()should be same object. -
isRowAffected
public boolean isRowAffected() -
hashCode
public int hashCode() -
equals
-
toString
-