@Test public void cloning() throws Exception { StepMeta meta = createTestMeta(); StepMeta clone = (StepMeta) meta.clone(); assertEquals( meta, clone ); }
@Override public Object clone() { StepMeta stepMeta = new StepMeta(); stepMeta.replaceMeta( this ); stepMeta.setObjectId( null ); return stepMeta; }
StepMeta extends SharedObjectBase implements Cloneable, Comparable<StepMeta>, GUIPositionInterface,
    SharedObjectInterface, CheckResultSourceInterface, ResourceExportInterface, ResourceHolderInterface,
    AttributesInterface, BaseMeta { @Override public Object clone() { StepMeta stepMeta = new StepMeta(); stepMeta.replaceMeta( this ); stepMeta.setObjectId( null ); return stepMeta; } }
StepMeta extends SharedObjectBase implements Cloneable, Comparable<StepMeta>, GUIPositionInterface,
    SharedObjectInterface, CheckResultSourceInterface, ResourceExportInterface, ResourceHolderInterface,
    AttributesInterface, BaseMeta { @Override public Object clone() { StepMeta stepMeta = new StepMeta(); stepMeta.replaceMeta( this ); stepMeta.setObjectId( null ); return stepMeta; } StepMeta( String stepid, String stepname, StepMetaInterface stepMetaInterface );  StepMeta( String stepname, StepMetaInterface stepMetaInterface );  StepMeta(); @Deprecated  StepMeta( Node stepnode, List<DatabaseMeta> databases, Map<String, Counter> counters );  StepMeta( Node stepnode, List<DatabaseMeta> databases, IMetaStore metaStore );  StepMeta( ObjectId id_step ); }
StepMeta extends SharedObjectBase implements Cloneable, Comparable<StepMeta>, GUIPositionInterface,
    SharedObjectInterface, CheckResultSourceInterface, ResourceExportInterface, ResourceHolderInterface,
    AttributesInterface, BaseMeta { @Override public Object clone() { StepMeta stepMeta = new StepMeta(); stepMeta.replaceMeta( this ); stepMeta.setObjectId( null ); return stepMeta; } StepMeta( String stepid, String stepname, StepMetaInterface stepMetaInterface );  StepMeta( String stepname, StepMetaInterface stepMetaInterface );  StepMeta(); @Deprecated  StepMeta( Node stepnode, List<DatabaseMeta> databases, Map<String, Counter> counters );  StepMeta( Node stepnode, List<DatabaseMeta> databases, IMetaStore metaStore );  StepMeta( ObjectId id_step ); @Override String getXML(); String getXML( boolean includeInterface ); void setClusterSchemaAfterLoading( List<ClusterSchema> clusterSchemas ); static StepMeta fromXml( String metaXml ); @Override ObjectId getObjectId(); void setObjectId( ObjectId id ); boolean isDrawn(); boolean isDrawStep(); void setDraw( boolean draw ); void setCopies( int c ); int getCopies(); void drawStep(); void hideStep(); @Override boolean equals( Object obj ); @Override int hashCode(); @Override int compareTo( StepMeta o ); boolean hasChanged(); void setChanged( boolean ch ); void setChanged(); boolean chosesTargetSteps(); @Override Object clone(); void replaceMeta( StepMeta stepMeta ); StepMetaInterface getStepMetaInterface(); void setStepMetaInterface( StepMetaInterface stepMetaInterface ); String getStepID(); @Override String getName(); void setName( String sname ); @Override String getDescription(); void setDescription( String description ); @Override void setSelected( boolean sel ); void flipSelected(); @Override boolean isSelected(); void setTerminator(); void setTerminator( boolean t ); boolean hasTerminator(); @Override void setLocation( int x, int y ); @Override void setLocation( Point loc ); @Override Point getLocation(); @Deprecated void check( List<CheckResultInterface> remarks, TransMeta transMeta, RowMetaInterface prev, String[] input,
      String[] output, RowMetaInterface info ); @SuppressWarnings( "deprecation" ) void check( List<CheckResultInterface> remarks, TransMeta transMeta, RowMetaInterface prev, String[] input,
      String[] output, RowMetaInterface info, VariableSpace space, Repository repository, IMetaStore metaStore ); @Override String toString(); boolean isPartitioned(); boolean isTargetPartitioned(); StepPartitioningMeta getStepPartitioningMeta(); void setStepPartitioningMeta( StepPartitioningMeta stepPartitioningMeta ); ClusterSchema getClusterSchema(); void setClusterSchema( ClusterSchema clusterSchema ); boolean isDistributes(); void setDistributes( boolean distributes ); StepErrorMeta getStepErrorMeta(); void setStepErrorMeta( StepErrorMeta stepErrorMeta ); static final StepMeta findStep( List<StepMeta> steps, ObjectId id ); static final StepMeta findStep( List<StepMeta> steps, String stepname ); boolean supportsErrorHandling(); boolean isDoingErrorHandling(); boolean isSendingErrorRowsToStep( StepMeta targetStep ); @Override String getTypeId(); boolean isMapping(); boolean isSingleThreader(); boolean isEtlMetaInject(); boolean isJobExecutor(); boolean isMappingInput(); boolean isMappingOutput(); List<ResourceReference> getResourceDependencies( TransMeta transMeta ); @Deprecated String exportResources( VariableSpace space, Map<String, ResourceDefinition> definitions,
      ResourceNamingInterface resourceNamingInterface, Repository repository ); @Override @SuppressWarnings( "deprecation" ) String exportResources( VariableSpace space, Map<String, ResourceDefinition> definitions,
      ResourceNamingInterface resourceNamingInterface, Repository repository, IMetaStore metaStore ); List<RemoteStep> getRemoteInputSteps(); void setRemoteInputSteps( List<RemoteStep> remoteInputSteps ); List<RemoteStep> getRemoteOutputSteps(); void setRemoteOutputSteps( List<RemoteStep> remoteOutputSteps ); StepPartitioningMeta getTargetStepPartitioningMeta(); void setTargetStepPartitioningMeta( StepPartitioningMeta targetStepPartitioningMeta ); boolean isRepartitioning(); @Override String getHolderType(); boolean isClustered(); void setStepID( String stepid ); void setClusterSchemaName( String clusterSchemaName ); void setParentTransMeta( TransMeta parentTransMeta ); TransMeta getParentTransMeta(); RowDistributionInterface getRowDistribution(); void setRowDistribution( RowDistributionInterface rowDistribution ); String getCopiesString(); void setCopiesString( String copiesString ); @Override void setAttributesMap( Map<String, Map<String, String>> attributesMap ); @Override Map<String, Map<String, String>> getAttributesMap(); @Override void setAttribute( String groupName, String key, String value ); @Override void setAttributes( String groupName, Map<String, String> attributes ); @Override Map<String, String> getAttributes( String groupName ); @Override String getAttribute( String groupName, String key ); boolean isMissing(); }
StepMeta extends SharedObjectBase implements Cloneable, Comparable<StepMeta>, GUIPositionInterface,
    SharedObjectInterface, CheckResultSourceInterface, ResourceExportInterface, ResourceHolderInterface,
    AttributesInterface, BaseMeta { @Override public Object clone() { StepMeta stepMeta = new StepMeta(); stepMeta.replaceMeta( this ); stepMeta.setObjectId( null ); return stepMeta; } StepMeta( String stepid, String stepname, StepMetaInterface stepMetaInterface );  StepMeta( String stepname, StepMetaInterface stepMetaInterface );  StepMeta(); @Deprecated  StepMeta( Node stepnode, List<DatabaseMeta> databases, Map<String, Counter> counters );  StepMeta( Node stepnode, List<DatabaseMeta> databases, IMetaStore metaStore );  StepMeta( ObjectId id_step ); @Override String getXML(); String getXML( boolean includeInterface ); void setClusterSchemaAfterLoading( List<ClusterSchema> clusterSchemas ); static StepMeta fromXml( String metaXml ); @Override ObjectId getObjectId(); void setObjectId( ObjectId id ); boolean isDrawn(); boolean isDrawStep(); void setDraw( boolean draw ); void setCopies( int c ); int getCopies(); void drawStep(); void hideStep(); @Override boolean equals( Object obj ); @Override int hashCode(); @Override int compareTo( StepMeta o ); boolean hasChanged(); void setChanged( boolean ch ); void setChanged(); boolean chosesTargetSteps(); @Override Object clone(); void replaceMeta( StepMeta stepMeta ); StepMetaInterface getStepMetaInterface(); void setStepMetaInterface( StepMetaInterface stepMetaInterface ); String getStepID(); @Override String getName(); void setName( String sname ); @Override String getDescription(); void setDescription( String description ); @Override void setSelected( boolean sel ); void flipSelected(); @Override boolean isSelected(); void setTerminator(); void setTerminator( boolean t ); boolean hasTerminator(); @Override void setLocation( int x, int y ); @Override void setLocation( Point loc ); @Override Point getLocation(); @Deprecated void check( List<CheckResultInterface> remarks, TransMeta transMeta, RowMetaInterface prev, String[] input,
      String[] output, RowMetaInterface info ); @SuppressWarnings( "deprecation" ) void check( List<CheckResultInterface> remarks, TransMeta transMeta, RowMetaInterface prev, String[] input,
      String[] output, RowMetaInterface info, VariableSpace space, Repository repository, IMetaStore metaStore ); @Override String toString(); boolean isPartitioned(); boolean isTargetPartitioned(); StepPartitioningMeta getStepPartitioningMeta(); void setStepPartitioningMeta( StepPartitioningMeta stepPartitioningMeta ); ClusterSchema getClusterSchema(); void setClusterSchema( ClusterSchema clusterSchema ); boolean isDistributes(); void setDistributes( boolean distributes ); StepErrorMeta getStepErrorMeta(); void setStepErrorMeta( StepErrorMeta stepErrorMeta ); static final StepMeta findStep( List<StepMeta> steps, ObjectId id ); static final StepMeta findStep( List<StepMeta> steps, String stepname ); boolean supportsErrorHandling(); boolean isDoingErrorHandling(); boolean isSendingErrorRowsToStep( StepMeta targetStep ); @Override String getTypeId(); boolean isMapping(); boolean isSingleThreader(); boolean isEtlMetaInject(); boolean isJobExecutor(); boolean isMappingInput(); boolean isMappingOutput(); List<ResourceReference> getResourceDependencies( TransMeta transMeta ); @Deprecated String exportResources( VariableSpace space, Map<String, ResourceDefinition> definitions,
      ResourceNamingInterface resourceNamingInterface, Repository repository ); @Override @SuppressWarnings( "deprecation" ) String exportResources( VariableSpace space, Map<String, ResourceDefinition> definitions,
      ResourceNamingInterface resourceNamingInterface, Repository repository, IMetaStore metaStore ); List<RemoteStep> getRemoteInputSteps(); void setRemoteInputSteps( List<RemoteStep> remoteInputSteps ); List<RemoteStep> getRemoteOutputSteps(); void setRemoteOutputSteps( List<RemoteStep> remoteOutputSteps ); StepPartitioningMeta getTargetStepPartitioningMeta(); void setTargetStepPartitioningMeta( StepPartitioningMeta targetStepPartitioningMeta ); boolean isRepartitioning(); @Override String getHolderType(); boolean isClustered(); void setStepID( String stepid ); void setClusterSchemaName( String clusterSchemaName ); void setParentTransMeta( TransMeta parentTransMeta ); TransMeta getParentTransMeta(); RowDistributionInterface getRowDistribution(); void setRowDistribution( RowDistributionInterface rowDistribution ); String getCopiesString(); void setCopiesString( String copiesString ); @Override void setAttributesMap( Map<String, Map<String, String>> attributesMap ); @Override Map<String, Map<String, String>> getAttributesMap(); @Override void setAttribute( String groupName, String key, String value ); @Override void setAttributes( String groupName, Map<String, String> attributes ); @Override Map<String, String> getAttributes( String groupName ); @Override String getAttribute( String groupName, String key ); boolean isMissing(); static final String XML_TAG; static final String STRING_ID_MAPPING; static final String STRING_ID_SINGLE_THREADER; static final String STRING_ID_ETL_META_INJECT; static final String STRING_ID_JOB_EXECUTOR; static final String STRING_ID_MAPPING_INPUT; static final String STRING_ID_MAPPING_OUTPUT; }