org.pentaho.di.lineage.ValueLineage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kettle-engine Show documentation
Show all versions of kettle-engine Show documentation
Container pom for Pentaho Data Integration modules
The newest version!
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
******************************************************************************/
package org.pentaho.di.lineage;
import java.util.ArrayList;
import java.util.List;
import org.pentaho.di.core.row.ValueMetaInterface;
import org.pentaho.di.trans.TransMeta;
import org.pentaho.di.trans.step.StepMeta;
/**
* This class contains value lineage information.
* That means that we will have information on where and how a certain value is originating, being manipulated etc.
*
* @author matt
*
*/
public class ValueLineage {
private TransMeta transMeta;
private ValueMetaInterface valueMeta;
private List sourceSteps;
/**
* Create a new ValueLineage object with an empty set of source steps.
*
* @param valueMeta
*/
public ValueLineage( TransMeta transMeta, ValueMetaInterface valueMeta ) {
this.transMeta = transMeta;
this.valueMeta = valueMeta;
this.sourceSteps = new ArrayList();
}
/**
* @return the transMeta
*/
public TransMeta getTransMeta() {
return transMeta;
}
/**
* @param transMeta
* the transMeta to set
*/
public void setTransMeta( TransMeta transMeta ) {
this.transMeta = transMeta;
}
/**
* @return the valueMeta
*/
public ValueMetaInterface getValueMeta() {
return valueMeta;
}
/**
* @param valueMeta
* the valueMeta to set
*/
public void setValueMeta( ValueMetaInterface valueMeta ) {
this.valueMeta = valueMeta;
}
/**
* @return the sourceSteps
*/
public List getSourceSteps() {
return sourceSteps;
}
/**
* @param sourceSteps
* the sourceSteps to set
*/
public void setSourceSteps( List sourceSteps ) {
this.sourceSteps = sourceSteps;
}
}