@Test public void testSetDefault() { assertNull( couchDbInputMeta.getHostname() ); assertNull( couchDbInputMeta.getPort() ); assertNull( couchDbInputMeta.getDbName() ); assertNull( couchDbInputMeta.getViewName() ); couchDbInputMeta.setDefault(); assertEquals( CouchDbInputMeta.DEFAULT_HOSTNAME, couchDbInputMeta.getHostname() ); assertEquals( CouchDbInputMeta.DEFAULT_PORT, couchDbInputMeta.getPort() ); assertEquals( CouchDbInputMeta.DEFAULT_DB_NAME, couchDbInputMeta.getDbName() ); assertEquals( CouchDbInputMeta.DEFAULT_VIEW_NAME, couchDbInputMeta.getViewName() ); }
@Override public void setDefault() { hostname = DEFAULT_HOSTNAME; port = DEFAULT_PORT; dbName = DEFAULT_DB_NAME; viewName = DEFAULT_VIEW_NAME; }
CouchDbInputMeta extends BaseStepMeta implements StepMetaInterface { @Override public void setDefault() { hostname = DEFAULT_HOSTNAME; port = DEFAULT_PORT; dbName = DEFAULT_DB_NAME; viewName = DEFAULT_VIEW_NAME; } }
CouchDbInputMeta extends BaseStepMeta implements StepMetaInterface { @Override public void setDefault() { hostname = DEFAULT_HOSTNAME; port = DEFAULT_PORT; dbName = DEFAULT_DB_NAME; viewName = DEFAULT_VIEW_NAME; } CouchDbInputMeta(); }
CouchDbInputMeta extends BaseStepMeta implements StepMetaInterface { @Override public void setDefault() { hostname = DEFAULT_HOSTNAME; port = DEFAULT_PORT; dbName = DEFAULT_DB_NAME; viewName = DEFAULT_VIEW_NAME; } CouchDbInputMeta(); @Override void loadXML( Node stepnode, List<DatabaseMeta> databases, IMetaStore metaStore ); @Override Object clone(); @Override void setDefault(); @Override void getFields( RowMetaInterface rowMeta, String origin, RowMetaInterface[] info, StepMeta nextStep,
                         VariableSpace space, Repository repository, IMetaStore metaStore ); @Override String getXML(); @Override void readRep( Repository rep, IMetaStore metaStore, ObjectId id_step, List<DatabaseMeta> databases ); @Override void saveRep( Repository rep, IMetaStore metaStore, ObjectId id_transformation, ObjectId id_step ); @Override StepInterface getStep( StepMeta stepMeta, StepDataInterface stepDataInterface, int cnr, TransMeta tr,
                                Trans trans ); @Override StepDataInterface getStepData(); String getHostname(); void setHostname( String hostname ); String getPort(); void setPort( String port ); String getDbName(); void setDbName( String dbName ); String getAuthenticationUser(); void setAuthenticationUser( String authenticationUser ); String getAuthenticationPassword(); void setAuthenticationPassword( String authenticationPassword ); String getViewName(); void setViewName( String viewName ); String getDesignDocument(); void setDesignDocument( String designDocument ); }
CouchDbInputMeta extends BaseStepMeta implements StepMetaInterface { @Override public void setDefault() { hostname = DEFAULT_HOSTNAME; port = DEFAULT_PORT; dbName = DEFAULT_DB_NAME; viewName = DEFAULT_VIEW_NAME; } CouchDbInputMeta(); @Override void loadXML( Node stepnode, List<DatabaseMeta> databases, IMetaStore metaStore ); @Override Object clone(); @Override void setDefault(); @Override void getFields( RowMetaInterface rowMeta, String origin, RowMetaInterface[] info, StepMeta nextStep,
                         VariableSpace space, Repository repository, IMetaStore metaStore ); @Override String getXML(); @Override void readRep( Repository rep, IMetaStore metaStore, ObjectId id_step, List<DatabaseMeta> databases ); @Override void saveRep( Repository rep, IMetaStore metaStore, ObjectId id_transformation, ObjectId id_step ); @Override StepInterface getStep( StepMeta stepMeta, StepDataInterface stepDataInterface, int cnr, TransMeta tr,
                                Trans trans ); @Override StepDataInterface getStepData(); String getHostname(); void setHostname( String hostname ); String getPort(); void setPort( String port ); String getDbName(); void setDbName( String dbName ); String getAuthenticationUser(); void setAuthenticationUser( String authenticationUser ); String getAuthenticationPassword(); void setAuthenticationPassword( String authenticationPassword ); String getViewName(); void setViewName( String viewName ); String getDesignDocument(); void setDesignDocument( String designDocument ); static final String DEFAULT_HOSTNAME; static final String DEFAULT_PORT; static final String DEFAULT_DB_NAME; static final String DEFAULT_VIEW_NAME; static final String VALUE_META_NAME; }