INRIA & FluxMedia

fr.fluxmedia.transmorpher.graph
Class CallImpl

java.lang.Object
  |
  +--java.util.Observable
        |
        +--fr.fluxmedia.transmorpher.graph.CallImpl
All Implemented Interfaces:
Call, java.io.Serializable
Direct Known Subclasses:
ApplyImpl, Dispatch, Generate, Merge, Repeat, Serialize

public abstract class CallImpl
extends java.util.Observable
implements Call

See Also:
Serialized Form

Field Summary
(package private)  StringParameters iAttributes
           
(package private)  java.lang.String id
           
(package private)  PortList inPorts
           
(package private)  boolean nullified
           
(package private)  PortList outPorts
           
(package private)  Parameters parameters
           
(package private)  Process process
           
(package private)  boolean visited
           
 
Fields inherited from class java.util.Observable
changed, obs
 
Constructor Summary
CallImpl(java.lang.String n, java.lang.String t, Process p, int numIn, int numOut)
           
 
Method Summary
 void addIn(int index, Port port)
           
 void addIn(Port port)
           
 void addOut(int index, Port port)
           
 void addOut(Port port)
           
 void clearNull()
          clear the "null" mark
 void clearVisited()
          clear the "visited" mark
 void createProcess(TProcessComposite composite, TProcessFactory pFactory)
           
abstract  void generateJavaCode(Writer file)
          Prints the Java code for the execution of the call
 void generateParameters(Writer file)
           
 void generatePorts(Writer file)
           
abstract  void generateXML()
          Prints the XML expression of the call
 StringParameters getAttributes()
           
 java.lang.String getId()
           
 Parameters getParameters()
           
 Process getProcess()
           
 java.lang.String getType()
           
 PortList inPorts()
           
 PortList outPorts()
           
 void retroNull()
          propagate the null values of the input to the output. by default, mark the channel as visited
 void setId(java.lang.String n)
          A modification of the id involved a modification in the process Struct Storage.
 void setParameters(Parameters param)
           
 void setType(java.lang.String t)
           
 void setUp()
           
 java.lang.String toString()
           
 void update(java.lang.Object object)
           
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

id

java.lang.String id

parameters

Parameters parameters

iAttributes

StringParameters iAttributes

inPorts

PortList inPorts

outPorts

PortList outPorts

visited

boolean visited

nullified

boolean nullified

process

Process process
Constructor Detail

CallImpl

public CallImpl(java.lang.String n,
                java.lang.String t,
                Process p,
                int numIn,
                int numOut)
Method Detail

generateXML

public abstract void generateXML()
Prints the XML expression of the call
Specified by:
generateXML in interface Call

generateJavaCode

public abstract void generateJavaCode(Writer file)
                               throws java.io.IOException
Prints the Java code for the execution of the call
Specified by:
generateJavaCode in interface Call

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getId

public java.lang.String getId()
Specified by:
getId in interface Call

setId

public void setId(java.lang.String n)
A modification of the id involved a modification in the process Struct Storage.
Specified by:
setId in interface Call

getType

public java.lang.String getType()
Specified by:
getType in interface Call

setType

public void setType(java.lang.String t)
Specified by:
setType in interface Call

setParameters

public void setParameters(Parameters param)
Specified by:
setParameters in interface Call

getParameters

public Parameters getParameters()
Specified by:
getParameters in interface Call

getAttributes

public StringParameters getAttributes()
Specified by:
getAttributes in interface Call

getProcess

public Process getProcess()
Specified by:
getProcess in interface Call

addOut

public void addOut(Port port)

addIn

public void addIn(Port port)

addIn

public void addIn(int index,
                  Port port)

addOut

public void addOut(int index,
                   Port port)

inPorts

public PortList inPorts()
Specified by:
inPorts in interface Call

outPorts

public PortList outPorts()
Specified by:
outPorts in interface Call

clearVisited

public void clearVisited()
clear the "visited" mark
Specified by:
clearVisited in interface Call

clearNull

public void clearNull()
clear the "null" mark
Specified by:
clearNull in interface Call

retroNull

public void retroNull()
propagate the null values of the input to the output. by default, mark the channel as visited

setUp

public void setUp()
Specified by:
setUp in interface Call

generatePorts

public void generatePorts(Writer file)
                   throws java.io.IOException

generateParameters

public void generateParameters(Writer file)
                        throws java.io.IOException

createProcess

public void createProcess(TProcessComposite composite,
                          TProcessFactory pFactory)
Specified by:
createProcess in interface Call

update

public void update(java.lang.Object object)

INRIA & FluxMedia

..no bottom yet...