com.im.df.api 5.8

com.im.df.api.support
Class DFUpdateDescription

java.lang.Object
  extended by com.im.df.api.support.DFUpdateDescription

public final class DFUpdateDescription
extends Object

Description of a single data update operation.


Method Summary
static DFUpdateDescription create(DFEntity entity, DFTermExpression query, Map<String,Object> valuesToUpdate)
           
static DFUpdateDescription create(DFEntity entity, List rowIds, Map<String,Object> valuesToUpdate)
           
static DFUpdateDescription create(DFEntity entity, Object rowId, Map<String,Object> valuesToUpdate)
           
 DFEntity getEntity()
           
 List getRowIds()
          Current implementation can return null if expression is specified.
 Map<String,Object> getValuesToUpdate()
           
 DFTermExpression getWhereCondition()
          Can return null if description is defined with row ids.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

create

public static DFUpdateDescription create(DFEntity entity,
                                         DFTermExpression query,
                                         Map<String,Object> valuesToUpdate)

create

public static DFUpdateDescription create(DFEntity entity,
                                         Object rowId,
                                         Map<String,Object> valuesToUpdate)

create

public static DFUpdateDescription create(DFEntity entity,
                                         List rowIds,
                                         Map<String,Object> valuesToUpdate)

getValuesToUpdate

public Map<String,Object> getValuesToUpdate()

getWhereCondition

public DFTermExpression getWhereCondition()
Can return null if description is defined with row ids.


getEntity

public DFEntity getEntity()

getRowIds

public List getRowIds()
Current implementation can return null if expression is specified.

Returns:
The changed rows' ids or possibly null.

toString

public String toString()
Overrides:
toString in class Object

com.im.df.api 5.8