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