org.pentaho.di.job.entry
Class JobEntryCopy

java.lang.Object
  extended by org.pentaho.di.job.entry.JobEntryCopy
All Implemented Interfaces:
Cloneable, ChangedFlagInterface, GUIPositionInterface, XMLInterface

public class JobEntryCopy
extends Object
implements Cloneable, XMLInterface, GUIPositionInterface, ChangedFlagInterface

This class describes the fact that a single JobEntry can be used multiple times in the same Job. Therefor it contains a link to a JobEntry, a position, a number, etc.

Since:
01-10-2003
Author:
Matt

Constructor Summary
JobEntryCopy()
           
JobEntryCopy(JobEntryInterface entry)
           
JobEntryCopy(Node entrynode, List<DatabaseMeta> databases, List<SlaveServer> slaveServers, Repository rep)
           
 
Method Summary
 void clear()
           
 void clearChanged()
           
 Object clone_deep()
           
 Object clone()
           
 boolean equals(Object o)
           
 boolean evaluates()
           
 void flipSelected()
           
 String getDescription()
           
 JobEntryInterface getEntry()
           
 Point getLocation()
           
 String getName()
           
 int getNr()
           
 ObjectId getObjectId()
           
 JobMeta getParentJobMeta()
           
 String getTypeDesc()
           
 String getXML()
          Describes the Object implementing this interface as XML
 boolean hasChanged()
           
 int hashCode()
           
 boolean isDrawn()
           
 boolean isDummy()
           
 boolean isEvaluation()
           
 boolean isJob()
           
 boolean isLaunchingInParallel()
           
 boolean isMail()
           
 boolean isSelected()
           
 boolean isSpecial()
           
 boolean isStart()
           
 boolean isTransformation()
           
 boolean isUnconditional()
           
 void replaceMeta(JobEntryCopy jobEntryCopy)
           
 boolean resetErrorsBeforeExecution()
           
 void setChanged()
           
 void setChanged(boolean ch)
           
 void setDescription(String description)
           
 void setDrawn()
           
 void setDrawn(boolean d)
           
 void setEntry(JobEntryInterface je)
           
 void setLaunchingInParallel(boolean p)
           
 void setLocation(int x, int y)
           
 void setLocation(Point loc)
           
 void setName(String name)
           
 void setNr(int n)
           
 void setObjectId(ObjectId id)
           
 void setParentJobMeta(JobMeta parentJobMeta)
           
 void setSelected(boolean sel)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JobEntryCopy

public JobEntryCopy()

JobEntryCopy

public JobEntryCopy(JobEntryInterface entry)

JobEntryCopy

public JobEntryCopy(Node entrynode,
                    List<DatabaseMeta> databases,
                    List<SlaveServer> slaveServers,
                    Repository rep)
             throws KettleXMLException
Throws:
KettleXMLException
Method Detail

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

clear

public void clear()

clone

public Object clone()
Overrides:
clone in class Object

replaceMeta

public void replaceMeta(JobEntryCopy jobEntryCopy)

clone_deep

public Object clone_deep()

setObjectId

public void setObjectId(ObjectId id)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getObjectId

public ObjectId getObjectId()

setEntry

public void setEntry(JobEntryInterface je)

getEntry

public JobEntryInterface getEntry()

getTypeDesc

public String getTypeDesc()
Returns:
entry in JobEntryInterface.typeCode[] for native jobs, entry.getTypeCode() for plugins

setLocation

public void setLocation(int x,
                        int y)
Specified by:
setLocation in interface GUIPositionInterface

setLocation

public void setLocation(Point loc)
Specified by:
setLocation in interface GUIPositionInterface

getLocation

public Point getLocation()
Specified by:
getLocation in interface GUIPositionInterface

setChanged

public void setChanged()
Specified by:
setChanged in interface ChangedFlagInterface

setChanged

public void setChanged(boolean ch)
Specified by:
setChanged in interface ChangedFlagInterface

clearChanged

public void clearChanged()
Specified by:
clearChanged in interface ChangedFlagInterface

hasChanged

public boolean hasChanged()
Specified by:
hasChanged in interface ChangedFlagInterface

getNr

public int getNr()

setNr

public void setNr(int n)

setLaunchingInParallel

public void setLaunchingInParallel(boolean p)

isDrawn

public boolean isDrawn()

setDrawn

public void setDrawn()

setDrawn

public void setDrawn(boolean d)

isLaunchingInParallel

public boolean isLaunchingInParallel()

setSelected

public void setSelected(boolean sel)
Specified by:
setSelected in interface GUIPositionInterface

flipSelected

public void flipSelected()

isSelected

public boolean isSelected()
Specified by:
isSelected in interface GUIPositionInterface

setDescription

public void setDescription(String description)

getDescription

public String getDescription()

isStart

public boolean isStart()

isDummy

public boolean isDummy()

isTransformation

public boolean isTransformation()

isJob

public boolean isJob()

evaluates

public boolean evaluates()

isUnconditional

public boolean isUnconditional()

isEvaluation

public boolean isEvaluation()

isMail

public boolean isMail()

isSpecial

public boolean isSpecial()

toString

public String toString()
Overrides:
toString in class Object

getName

public String getName()

setName

public void setName(String name)

resetErrorsBeforeExecution

public boolean resetErrorsBeforeExecution()

getParentJobMeta

public JobMeta getParentJobMeta()

setParentJobMeta

public void setParentJobMeta(JobMeta parentJobMeta)