org.pentaho.di.trans
Class TransHopMeta

java.lang.Object
  extended by org.pentaho.di.trans.TransHopMeta
All Implemented Interfaces:
Cloneable, Comparable<TransHopMeta>, XMLInterface

public class TransHopMeta
extends Object
implements Cloneable, XMLInterface, Comparable<TransHopMeta>

Defines a link between 2 steps in a transformation


Field Summary
 boolean split
           
static String XML_TAG
           
 
Constructor Summary
TransHopMeta()
           
TransHopMeta(Node hopnode, List<StepMeta> steps)
           
TransHopMeta(StepMeta from, StepMeta to)
           
TransHopMeta(StepMeta from, StepMeta to, boolean en)
           
 
Method Summary
 Object clone()
           
 int compareTo(TransHopMeta obj)
          Compare 2 hops.
 boolean equals(Object obj)
           
 void flip()
           
 StepMeta getFromStep()
           
 ObjectId getObjectId()
           
 StepMeta getToStep()
           
 String getXML()
          Describes the Object implementing this interface as XML
 boolean hasChanged()
           
 boolean isEnabled()
           
 void setChanged()
           
 void setChanged(boolean ch)
           
 void setEnabled()
           
 void setEnabled(boolean en)
           
 void setFromStep(StepMeta from)
           
 void setObjectId(ObjectId id)
           
 void setToStep(StepMeta to)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

XML_TAG

public static final String XML_TAG
See Also:
Constant Field Values

split

public boolean split
Constructor Detail

TransHopMeta

public TransHopMeta(StepMeta from,
                    StepMeta to,
                    boolean en)

TransHopMeta

public TransHopMeta(StepMeta from,
                    StepMeta to)

TransHopMeta

public TransHopMeta()

TransHopMeta

public TransHopMeta(Node hopnode,
                    List<StepMeta> steps)
             throws KettleXMLException
Throws:
KettleXMLException
Method Detail

setFromStep

public void setFromStep(StepMeta from)

setToStep

public void setToStep(StepMeta to)

getFromStep

public StepMeta getFromStep()

getToStep

public StepMeta getToStep()

clone

public Object clone()
Overrides:
clone in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

compareTo

public int compareTo(TransHopMeta obj)
Compare 2 hops.

Specified by:
compareTo in interface Comparable<TransHopMeta>

getObjectId

public ObjectId getObjectId()

setObjectId

public void setObjectId(ObjectId id)

setChanged

public void setChanged()

setChanged

public void setChanged(boolean ch)

hasChanged

public boolean hasChanged()

setEnabled

public void setEnabled()

setEnabled

public void setEnabled(boolean en)

isEnabled

public boolean isEnabled()

flip

public void flip()

toString

public String toString()
Overrides:
toString in class Object

getXML

public String getXML()
Description copied from interface: XMLInterface
Describes the Object implementing this interface as XML

Specified by:
getXML in interface XMLInterface
Returns:
the XML string for this object