public class DBObjectToDmlDeleteCommandTransformer extends Transformer<DBObject,DmlDeleteCommand>
CollectionTransformer
for getting the DmlDeleteCommand for collections of DBObjectsConstructor 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)
Transformer
transform
in class Transformer<DBObject,DmlDeleteCommand>
from
- an object for which an equivalent object of another class is to be returned