@Test public void testSalesforceInputMeta() throws KettleException { List<String> attributes = new ArrayList<String>(); attributes.addAll( SalesforceMetaTest.getDefaultAttributes() ); attributes.addAll( Arrays.asList( "inputFields", "condition", "query", "specifyQuery", "includeTargetURL", "targetURLField", "includeModule", "moduleField", "includeRowNumber", "includeDeletionDate", "deletionDateField", "rowNumberField", "includeSQL", "sqlField", "includeTimestamp", "timestampField", "readFrom", "readTo", "recordsFilter", "queryAll", "rowLimit" ) ); Map<String, String> getterMap = new HashMap<String, String>(); Map<String, String> setterMap = new HashMap<String, String>(); getterMap.put( "includeTargetURL", "includeTargetURL" ); getterMap.put( "includeModule", "includeModule" ); getterMap.put( "includeRowNumber", "includeRowNumber" ); getterMap.put( "includeDeletionDate", "includeDeletionDate" ); getterMap.put( "includeSQL", "includeSQL" ); getterMap.put( "sqlField", "getSQLField" ); setterMap.put( "sqlField", "setSQLField" ); getterMap.put( "includeTimestamp", "includeTimestamp" ); Map<String, FieldLoadSaveValidator<?>> fieldLoadSaveValidators = new HashMap<String, FieldLoadSaveValidator<?>>(); fieldLoadSaveValidators.put( "inputFields", new ArrayLoadSaveValidator<SalesforceInputField>( new SalesforceInputFieldLoadSaveValidator(), 50 ) ); fieldLoadSaveValidators.put( "recordsFilter", new RecordsFilterLoadSaveValidator() ); LoadSaveTester loadSaveTester = new LoadSaveTester( SalesforceInputMeta.class, attributes, getterMap, setterMap, fieldLoadSaveValidators, new HashMap<String, FieldLoadSaveValidator<?>>() ); loadSaveTester.testRepoRoundTrip(); loadSaveTester.testXmlRoundTrip(); }
public SalesforceInputMeta() { super(); }
SalesforceInputMeta extends SalesforceStepMeta { public SalesforceInputMeta() { super(); } }
SalesforceInputMeta extends SalesforceStepMeta { public SalesforceInputMeta() { super(); } SalesforceInputMeta(); }
SalesforceInputMeta extends SalesforceStepMeta { public SalesforceInputMeta() { super(); } SalesforceInputMeta(); SalesforceInputField[] getInputFields(); void setInputFields( SalesforceInputField[] inputFields ); String getQuery(); void setQuery( String query ); boolean isSpecifyQuery(); void setSpecifyQuery( boolean specifyQuery ); boolean isQueryAll(); void setQueryAll( boolean value ); String getCondition(); void setCondition( String condition ); void setTargetURLField( String TargetURLField ); void setSQLField( String sqlField ); void setTimestampField( String timestampField ); void setModuleField( String module_field ); int getRecordsFilter(); void setRecordsFilter( int recordsFilter ); boolean includeTargetURL(); boolean includeSQL(); void setIncludeSQL( boolean includeSQL ); boolean includeTimestamp(); void setIncludeTimestamp( boolean includeTimestamp ); boolean includeModule(); void setIncludeTargetURL( boolean includeTargetURL ); void setIncludeModule( boolean includemodule ); boolean includeRowNumber(); void setIncludeRowNumber( boolean includeRowNumber ); boolean includeDeletionDate(); void setIncludeDeletionDate( boolean includeDeletionDate ); String getRowLimit(); void setRowLimit( String rowLimit ); String getRowNumberField(); String getDeletionDateField(); void setDeletionDateField( String value ); String getTargetURLField(); String getReadFrom(); void setReadFrom( String readFrom ); String getReadTo(); void setReadTo( String readTo ); String getSQLField(); String getTimestampField(); String getModuleField(); void setRowNumberField( String rowNumberField ); void loadXML( Node stepnode, List<DatabaseMeta> databases, IMetaStore metaStore ); Object clone(); String getXML(); void allocate( int nrfields ); int getNrFields(); void setDefault(); void getFields( RowMetaInterface r, String name, RowMetaInterface[] info, StepMeta nextStep,
    VariableSpace space, Repository repository, IMetaStore metaStore ); void readRep( Repository rep, IMetaStore metaStore, ObjectId id_step, List<DatabaseMeta> databases ); void saveRep( Repository rep, IMetaStore metaStore, ObjectId id_transformation, ObjectId id_step ); void check( List<CheckResultInterface> remarks, TransMeta transMeta, StepMeta stepMeta,
    RowMetaInterface prev, String[] input, String[] output, RowMetaInterface info, VariableSpace space,
    Repository repository, IMetaStore metaStore ); StepInterface getStep( StepMeta stepMeta, StepDataInterface stepDataInterface, int cnr,
    TransMeta transMeta, Trans trans ); StepDataInterface getStepData(); }
SalesforceInputMeta extends SalesforceStepMeta { public SalesforceInputMeta() { super(); } SalesforceInputMeta(); SalesforceInputField[] getInputFields(); void setInputFields( SalesforceInputField[] inputFields ); String getQuery(); void setQuery( String query ); boolean isSpecifyQuery(); void setSpecifyQuery( boolean specifyQuery ); boolean isQueryAll(); void setQueryAll( boolean value ); String getCondition(); void setCondition( String condition ); void setTargetURLField( String TargetURLField ); void setSQLField( String sqlField ); void setTimestampField( String timestampField ); void setModuleField( String module_field ); int getRecordsFilter(); void setRecordsFilter( int recordsFilter ); boolean includeTargetURL(); boolean includeSQL(); void setIncludeSQL( boolean includeSQL ); boolean includeTimestamp(); void setIncludeTimestamp( boolean includeTimestamp ); boolean includeModule(); void setIncludeTargetURL( boolean includeTargetURL ); void setIncludeModule( boolean includemodule ); boolean includeRowNumber(); void setIncludeRowNumber( boolean includeRowNumber ); boolean includeDeletionDate(); void setIncludeDeletionDate( boolean includeDeletionDate ); String getRowLimit(); void setRowLimit( String rowLimit ); String getRowNumberField(); String getDeletionDateField(); void setDeletionDateField( String value ); String getTargetURLField(); String getReadFrom(); void setReadFrom( String readFrom ); String getReadTo(); void setReadTo( String readTo ); String getSQLField(); String getTimestampField(); String getModuleField(); void setRowNumberField( String rowNumberField ); void loadXML( Node stepnode, List<DatabaseMeta> databases, IMetaStore metaStore ); Object clone(); String getXML(); void allocate( int nrfields ); int getNrFields(); void setDefault(); void getFields( RowMetaInterface r, String name, RowMetaInterface[] info, StepMeta nextStep,
    VariableSpace space, Repository repository, IMetaStore metaStore ); void readRep( Repository rep, IMetaStore metaStore, ObjectId id_step, List<DatabaseMeta> databases ); void saveRep( Repository rep, IMetaStore metaStore, ObjectId id_transformation, ObjectId id_step ); void check( List<CheckResultInterface> remarks, TransMeta transMeta, StepMeta stepMeta,
    RowMetaInterface prev, String[] input, String[] output, RowMetaInterface info, VariableSpace space,
    Repository repository, IMetaStore metaStore ); StepInterface getStep( StepMeta stepMeta, StepDataInterface stepDataInterface, int cnr,
    TransMeta transMeta, Trans trans ); StepDataInterface getStepData(); static String DATE_TIME_FORMAT; }