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