INRIA & FluxMedia

fr.fluxmedia.transmorpher.TProcessFactory
Class TProcess_Impl

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

public abstract class TProcess_Impl
extends Object
implements TProcess


Field Summary
protected  String id
           
(package private)  XML_Port[] iListIn
          The In port
(package private)  Parameters iListOfParameters
           
(package private)  XML_Port[] iListOut
          The out PORT
(package private)  String iName
          The name of the process
(package private)  int iNbIn
          the current In port
(package private)  int iNbOut
          The List of out port
protected  String nameFather
          the name of the father
(package private)  String[] nameIn
          The list of in port's name
(package private)  String[] nameOut
          The list of out port's name
 
Constructor Summary
protected TProcess_Impl()
          The constructor
  TProcess_Impl(String[] pIn, String[] pOut)
           
  TProcess_Impl(String[] pIn, String[] pOut, String pId)
          The constructor
 
Method Summary
 void bindParameters(Parameters p)
          bind the parameters of the process to the runtime parameters
abstract  void generatePort()
           
 String getFatherName()
           
 String getId()
           
 XML_Port[] getIn()
          Get the In ports
 XML_Port getIn(int i)
          Get an In port
 XML_Port getIn(String pName)
          Get an In port
 String getName()
          Get the name of the process
 String[] getNameIn()
          get all the name of in port
 String getNameIn(int i)
          get all the name of in port
 String[] getNameOut()
          get all the name of out port
 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(String pName)
          Get an Out Port
 Object getParameter(String k)
          get the parameter value of a process
 Parameters getParameters()
          returns the parameters of a process
 void setFatherName(String name)
           
 void setId(String id)
           
 void setIn(int i, XML_Port pFileIn)
           
 void setName(String pName)
          Set the name of the process
 void setOut(int i, XML_Port pFileOut)
          Set an Out Port
 void setParameter(String k, 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

iListIn

XML_Port[] iListIn
The In port

iNbIn

int iNbIn
the current In port

iListOut

XML_Port[] iListOut
The out PORT

iNbOut

int iNbOut
The List of out port

nameIn

String[] nameIn
The list of in port's name

nameOut

String[] nameOut
The list of out port's name

iName

String iName
The name of the process

nameFather

protected String nameFather
the name of the father

iListOfParameters

Parameters iListOfParameters

id

protected String id
Constructor Detail

TProcess_Impl

protected TProcess_Impl()
The constructor

TProcess_Impl

public TProcess_Impl(String[] pIn,
                     String[] pOut)

TProcess_Impl

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

getId

public String getId()

setId

public void setId(String id)

bindParameters

public void bindParameters(Parameters p)
Description copied from interface: TProcess
bind the parameters of the process to the runtime parameters
Specified by:
bindParameters in interface TProcess

setParameters

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

setParameter

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

getParameter

public Object getParameter(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(String name)
Specified by:
setFatherName in interface TProcess

getFatherName

public String getFatherName()
Specified by:
getFatherName in interface TProcess

getNameOut

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

getNameIn

public String getNameIn(int i)
get all the name of in port
Specified by:
getNameIn in interface TProcess

getNameOut

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

getNameIn

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

getName

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

setName

public final void setName(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(String pName)
Get an In port
Specified by:
getIn in interface TProcess

getOut

public final XML_Port getOut(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

INRIA & FluxMedia

..no bottom yet...