INRIA & FluxMedia

fr.fluxmedia.transmorpher.engine
Class TProcess_Impl

java.lang.Object
  |
  +--fr.fluxmedia.transmorpher.engine.TProcess_Impl
All Implemented Interfaces:
TProcess
Direct Known Subclasses:
TProcessBasic, TProcessComposite

public abstract class TProcess_Impl
extends java.lang.Object
implements TProcess


Field Summary
protected  int debug
           
protected  java.lang.String id
           
 XML_Port[] iListIn
          The In port
(package private)  Parameters iListOfParameters
           
 XML_Port[] iListOut
          The out PORT
(package private)  java.lang.String iName
          The name of the process
 int iNbIn
          the current In port
 int iNbOut
          The List of out port
protected  java.lang.String nameFather
          the name of the father
 java.lang.String[] nameIn
          The list of in port's name
 java.lang.String[] nameOut
          The list of out port's name
 
Constructor Summary
protected TProcess_Impl()
          The constructor
  TProcess_Impl(java.lang.String[] pIn, java.lang.String[] pOut)
           
  TProcess_Impl(java.lang.String[] pIn, java.lang.String[] pOut, java.lang.String pId)
          The constructor
 
Method Summary
 void bindParameters(Parameters p)
          bind the parameters of the process to the runtime parameters
abstract  void generatePort()
           
 java.lang.String getFatherName()
           
 java.lang.String getId()
           
 XML_Port[] getIn()
          Get the In ports
 XML_Port getIn(int i)
          Get an In port
 XML_Port getIn(java.lang.String pName)
          Get an In port
 java.lang.String getName()
          Get the name of the process
 java.lang.String[] getNameIn()
          get all the name of in port
 java.lang.String getNameIn(int i)
          get all the name of in port
 java.lang.String[] getNameOut()
          get all the name of out port
 java.lang.String getNameOut(int i)
          get all the name of out port
 XML_Port[] getOut()
          Get the Out Ports
 XML_Port getOut(int i)
          Get an Out Port
 XML_Port getOut(java.lang.String pName)
          Get an Out Port
 java.lang.Object getParameter(java.lang.String k)
          get the parameter value of a process
 java.util.Enumeration getParameterNames()
           
 Parameters getParameters()
          returns the parameters of a process
 void reset()
           
 void setDebug(int d)
           
 void setFatherName(java.lang.String name)
           
 void setId(java.lang.String id)
           
 void setIn(int i, XML_Port pFileIn)
           
 void setName(java.lang.String pName)
          Set the name of the process
 void setOut(int i, XML_Port pFileOut)
          Set an Out Port
 void setParameter(java.lang.String k, java.lang.Object o)
           
 void setParameters(Parameters p)
          pass a set of parameters to a process
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

debug

protected int debug

iListIn

public XML_Port[] iListIn
The In port

iNbIn

public int iNbIn
the current In port

iListOut

public XML_Port[] iListOut
The out PORT

iNbOut

public int iNbOut
The List of out port

nameIn

public java.lang.String[] nameIn
The list of in port's name

nameOut

public java.lang.String[] nameOut
The list of out port's name

iName

java.lang.String iName
The name of the process

nameFather

protected java.lang.String nameFather
the name of the father

iListOfParameters

Parameters iListOfParameters

id

protected java.lang.String id
Constructor Detail

TProcess_Impl

protected TProcess_Impl()
The constructor

TProcess_Impl

public TProcess_Impl(java.lang.String[] pIn,
                     java.lang.String[] pOut)

TProcess_Impl

public TProcess_Impl(java.lang.String[] pIn,
                     java.lang.String[] pOut,
                     java.lang.String pId)
The constructor
Method Detail

getId

public java.lang.String getId()

setId

public void setId(java.lang.String id)

reset

public void reset()
           throws TMRuntimeException,
                  TMException,
                  org.xml.sax.SAXException
Specified by:
reset in interface TProcess

bindParameters

public void bindParameters(Parameters p)
                    throws TMRuntimeException,
                           TMException,
                           org.xml.sax.SAXException
Description copied from interface: TProcess
bind the parameters of the process to the runtime parameters
Specified by:
bindParameters in interface TProcess

getParameterNames

public java.util.Enumeration getParameterNames()

setParameters

public void setParameters(Parameters p)
pass a set of parameters to a process
Specified by:
setParameters in interface TProcess

setParameter

public void setParameter(java.lang.String k,
                         java.lang.Object o)
Specified by:
setParameter in interface TProcess

getParameter

public java.lang.Object getParameter(java.lang.String k)
get the parameter value of a process
Specified by:
getParameter in interface TProcess

getParameters

public Parameters getParameters()
Description copied from interface: TProcess
returns the parameters of a process
Specified by:
getParameters in interface TProcess

setFatherName

public void setFatherName(java.lang.String name)
Specified by:
setFatherName in interface TProcess

getFatherName

public java.lang.String getFatherName()
Specified by:
getFatherName in interface TProcess

getNameOut

public java.lang.String[] getNameOut()
get all the name of out port
Specified by:
getNameOut in interface TProcess

getNameIn

public java.lang.String getNameIn(int i)
                           throws TMException
get all the name of in port
Specified by:
getNameIn in interface TProcess

getNameOut

public java.lang.String getNameOut(int i)
                            throws TMException
get all the name of out port
Specified by:
getNameOut in interface TProcess

getNameIn

public java.lang.String[] getNameIn()
get all the name of in port
Specified by:
getNameIn in interface TProcess

getName

public final java.lang.String getName()
Get the name of the process
Specified by:
getName in interface TProcess

setName

public final void setName(java.lang.String pName)
Set the name of the process
Specified by:
setName in interface TProcess

setIn

public final void setIn(int i,
                        XML_Port pFileIn)
Specified by:
setIn in interface TProcess

setOut

public final void setOut(int i,
                         XML_Port pFileOut)
Set an Out Port
Specified by:
setOut in interface TProcess

getIn

public final XML_Port getIn(int i)
Get an In port
Specified by:
getIn in interface TProcess

getOut

public final XML_Port getOut(int i)
Get an Out Port
Specified by:
getOut in interface TProcess

getIn

public final XML_Port getIn(java.lang.String pName)
Get an In port
Specified by:
getIn in interface TProcess

getOut

public final XML_Port getOut(java.lang.String pName)
Get an Out Port
Specified by:
getOut in interface TProcess

getIn

public final XML_Port[] getIn()
Get the In ports
Specified by:
getIn in interface TProcess

getOut

public final XML_Port[] getOut()
Get the Out Ports
Specified by:
getOut in interface TProcess

generatePort

public abstract void generatePort()
Specified by:
generatePort in interface TProcess

setDebug

public void setDebug(int d)
Specified by:
setDebug in interface TProcess

INRIA & FluxMedia

..no bottom yet...