public class DBObjectToDmlDeleteCommandTransformer extends Transformer<DBObject,DmlDeleteCommand>
CollectionTransformer for getting the DmlDeleteCommand for collections of DBObjects| Constructor and Description |
|---|
DBObjectToDmlDeleteCommandTransformer(java.lang.String relvarName)
Creates the DBObjectToDmlAddCommandTransformer
|
| Modifier and Type | Method and Description |
|---|---|
DmlDeleteCommand |
transform(DBObject from)
Returns an object of class <S2> that is in some sense equivalent to the given from object
|
public DBObjectToDmlDeleteCommandTransformer(java.lang.String relvarName)
relvarName - The relvar name that this transformer will return DmlAddcommands forpublic DmlDeleteCommand transform(DBObject from)
Transformertransform in class Transformer<DBObject,DmlDeleteCommand>from - an object for which an equivalent object of another class is to be returned