com.force.sdk.codegen.selector
Class DefaultDataSelector

java.lang.Object
  extended by com.force.sdk.codegen.selector.DefaultDataSelector
All Implemented Interfaces:
DataSelector

public class DefaultDataSelector
extends Object
implements DataSelector

A pass-through code generation DataSelector.

This DataSelector performs no select processing and simply injects the whole GetUserInfoResult object and DescribeSObjectResult object it receives into the Template.

Author:
Tim Kral

Constructor Summary
DefaultDataSelector()
           
 
Method Summary
 void select(com.sforce.soap.partner.GetUserInfoResult userInfo, com.sforce.soap.partner.DescribeSObjectResult dsr, Template template)
          Selects data from a GetUserInfoResult object and DescribeSObjectResult object and injects it into a Template.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDataSelector

public DefaultDataSelector()
Method Detail

select

public void select(com.sforce.soap.partner.GetUserInfoResult userInfo,
                   com.sforce.soap.partner.DescribeSObjectResult dsr,
                   Template template)
Description copied from interface: DataSelector
Selects data from a GetUserInfoResult object and DescribeSObjectResult object and injects it into a Template.

Specified by:
select in interface DataSelector
Parameters:
userInfo - the Force.com user who is running the code generation
dsr - the Force.com schema object for which code will be generated
template - the Template object which represents the physical layout of the code that is to be generated


Copyright © 2011. All Rights Reserved.