com.im.df.api 5.9

com.im.df.api.dml
Class DFDeleteDescription

java.lang.Object
  extended by com.im.df.api.dml.DFDeleteDescription

public final class DFDeleteDescription
extends Object


Nested Class Summary
static class DFDeleteDescription.Type
           
 
Field Summary
static DFDeleteDescription DELETE_ALL_RELATED
          All related rows in the other Entity will be deleted.
static DFDeleteDescription DELETE_NONE
          Do not delete any rows in the related entity.
 
Method Summary
 void addDeleteRelated(DFRelationship.Direction rel, DFDeleteDescription disposition)
           
 int addRows(Set<Object> rows)
           
static DFDeleteDescription create(DFEntity en, Set<Object> idsToDelete)
           
 Map<DFRelationship.Direction,DFDeleteDescription> getAllRelations()
           
 DFRelationship.Direction getControllingRelation()
           
 Map<DFRelationship.Direction,DFDeleteDescription> getDeleteRelated()
           
 Set<DFDeleteDescription> getDeletionSet()
           
 DFLock getLock()
           
 Set<DFRelationship.Direction> getRequiredRelations()
           
 Set<Object> getRowIDs()
           
 DFEntity getTargetEntity()
           
 DFDeleteDescription.Type getType()
           
 void join(DFDeleteDescription disposition)
           
 void setLock(DFLock lock)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DELETE_ALL_RELATED

public static final DFDeleteDescription DELETE_ALL_RELATED
All related rows in the other Entity will be deleted.


DELETE_NONE

public static final DFDeleteDescription DELETE_NONE
Do not delete any rows in the related entity.

Method Detail

getControllingRelation

public DFRelationship.Direction getControllingRelation()

getDeleteRelated

public Map<DFRelationship.Direction,DFDeleteDescription> getDeleteRelated()

getRowIDs

public Set<Object> getRowIDs()

getTargetEntity

public DFEntity getTargetEntity()

getType

public DFDeleteDescription.Type getType()

addRows

public int addRows(Set<Object> rows)

getLock

public DFLock getLock()

setLock

public void setLock(DFLock lock)

getDeletionSet

public Set<DFDeleteDescription> getDeletionSet()

getAllRelations

public Map<DFRelationship.Direction,DFDeleteDescription> getAllRelations()

join

public void join(DFDeleteDescription disposition)

addDeleteRelated

public void addDeleteRelated(DFRelationship.Direction rel,
                             DFDeleteDescription disposition)

create

public static DFDeleteDescription create(DFEntity en,
                                         Set<Object> idsToDelete)

getRequiredRelations

public Set<DFRelationship.Direction> getRequiredRelations()

com.im.df.api 5.9