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