org.talend.designer.rowgenerator.shadow
Class LogRowNode

java.lang.Object
  extended by org.talend.designer.rowgenerator.shadow.LogRowNode
All Implemented Interfaces:
IElement, INode

public class LogRowNode
extends java.lang.Object
implements INode

qzhang class global comment. Detailled comment
$Id: LogRowNode.java,v 1.4 2007/02/02 07:59:31 pub Exp $


Constructor Summary
LogRowNode(java.lang.String componentName, IMetadataTable list)
          qzhang LogRowNode constructor comment.
 
Method Summary
protected  void addParameter(IElementParameter param)
           
 IComponent getComponent()
           
 java.lang.String getComponentName()
           
 java.util.List<? extends IElementParameter> getElementParameters()
           
 java.lang.String getGeneratedCode()
           
 IConnection getInCnx()
           
 java.util.List<? extends IConnection> getIncomingConnections()
          Gives all incoming connections (only).
 org.eclipse.draw2d.geometry.Point getLocation()
          Gets current node's position.
 java.util.List<IMetadataTable> getMetadataList()
          Return list of Metadatas.
 IConnection getOutCnx()
           
 java.util.List<? extends IConnection> getOutgoingConnections()
          Gives all outgoing connections (only).
 java.lang.String getPluginFullName()
           
 IProcess getProcess()
          Getter for process.
 java.util.List<? extends INodeReturn> getReturns()
           
 INode getSubProcessStartNode(boolean withConditions)
          Will return the first item of the subprocess.
 java.lang.String getUniqueName()
          Gives the unique name of the node.
 java.lang.Boolean hasConditionalOutputs()
           
 boolean isActivate()
          Return the activate status of this node.
 boolean isReadOnly()
           
 boolean isStart()
          Return the start status of this node.
 boolean isSubProcessStart()
          Return true if the node is the start of a sub process.
 void metadataInputChanged(IODataComponent dataComponent, java.lang.String connectionToApply)
           
 void metadataOutputChanged(IODataComponent dataComponent, java.lang.String connectionToApply)
           
 void setComponent(IComponent component)
           
 void setElementParameters(java.util.List<? extends IElementParameter> elementsParameters)
           
 void setInCnx(IConnection inCnx)
           
 void setOutCnx(IConnection outCnx)
           
 void setPerformanceData(java.lang.String perfData)
          Set performance data on this node.
 void setPluginFullName(java.lang.String pluginFullName)
           
 void setProcess(IProcess process)
          Sets the process.
 void setReadOnly(boolean readOnly)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogRowNode

public LogRowNode(java.lang.String componentName,
                  IMetadataTable list)
qzhang LogRowNode constructor comment.

Method Detail

getIncomingConnections

public java.util.List<? extends IConnection> getIncomingConnections()
Description copied from interface: INode
Gives all incoming connections (only).

Specified by:
getIncomingConnections in interface INode
Returns:
List of Connection

getMetadataList

public java.util.List<IMetadataTable> getMetadataList()
Description copied from interface: INode
Return list of Metadatas.

Specified by:
getMetadataList in interface INode
Returns:

getOutgoingConnections

public java.util.List<? extends IConnection> getOutgoingConnections()
Description copied from interface: INode
Gives all outgoing connections (only).

Specified by:
getOutgoingConnections in interface INode
Returns:
List of Connection

getPluginFullName

public java.lang.String getPluginFullName()
Specified by:
getPluginFullName in interface INode

setPluginFullName

public void setPluginFullName(java.lang.String pluginFullName)

getUniqueName

public java.lang.String getUniqueName()
Description copied from interface: INode
Gives the unique name of the node.

Specified by:
getUniqueName in interface INode
Returns:
unique name

isActivate

public boolean isActivate()
Description copied from interface: INode
Return the activate status of this node.

Specified by:
isActivate in interface INode
Returns:

isStart

public boolean isStart()
Description copied from interface: INode
Return the start status of this node.

Specified by:
isStart in interface INode
Returns:

isSubProcessStart

public boolean isSubProcessStart()
Description copied from interface: INode
Return true if the node is the start of a sub process.

Specified by:
isSubProcessStart in interface INode
Returns:

setPerformanceData

public void setPerformanceData(java.lang.String perfData)
Description copied from interface: INode
Set performance data on this node.

Specified by:
setPerformanceData in interface INode
Parameters:
perfData - Performance data (string to be parsed).

getElementParameters

public java.util.List<? extends IElementParameter> getElementParameters()
Specified by:
getElementParameters in interface IElement

setElementParameters

public void setElementParameters(java.util.List<? extends IElementParameter> elementsParameters)
Specified by:
setElementParameters in interface IElement

addParameter

protected void addParameter(IElementParameter param)

getGeneratedCode

public java.lang.String getGeneratedCode()

getComponentName

public java.lang.String getComponentName()

hasConditionalOutputs

public java.lang.Boolean hasConditionalOutputs()
Specified by:
hasConditionalOutputs in interface INode

getReturns

public java.util.List<? extends INodeReturn> getReturns()
Specified by:
getReturns in interface INode

getProcess

public IProcess getProcess()
Getter for process.

Specified by:
getProcess in interface INode
Returns:
the process

setProcess

public void setProcess(IProcess process)
Sets the process.

Specified by:
setProcess in interface INode
Parameters:
process - the process to set

metadataInputChanged

public void metadataInputChanged(IODataComponent dataComponent,
                                 java.lang.String connectionToApply)
Specified by:
metadataInputChanged in interface INode

metadataOutputChanged

public void metadataOutputChanged(IODataComponent dataComponent,
                                  java.lang.String connectionToApply)
Specified by:
metadataOutputChanged in interface INode

isReadOnly

public boolean isReadOnly()
Specified by:
isReadOnly in interface IElement

setReadOnly

public void setReadOnly(boolean readOnly)
Specified by:
setReadOnly in interface IElement

getComponent

public IComponent getComponent()
Specified by:
getComponent in interface INode

setComponent

public void setComponent(IComponent component)
Specified by:
setComponent in interface INode

getSubProcessStartNode

public INode getSubProcessStartNode(boolean withConditions)
Description copied from interface: INode
Will return the first item of the subprocess. If "withCondition" is true, if there is links from type RunIf / RunAfter / RunBefore, it will return the first element found. If "withCondition" is false, it will return the first element with no active link from type Main/Ref/Iterate.

Specified by:
getSubProcessStartNode in interface INode
Returns:
Start Node found.

getInCnx

public IConnection getInCnx()

setInCnx

public void setInCnx(IConnection inCnx)

getOutCnx

public IConnection getOutCnx()

setOutCnx

public void setOutCnx(IConnection outCnx)

getLocation

public org.eclipse.draw2d.geometry.Point getLocation()
Description copied from interface: INode
Gets current node's position.

Specified by:
getLocation in interface INode
Returns: