INRIA & FluxMedia

fr.fluxmedia.transmorpher.graph
Interface Call

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
ApplyExternal, ApplyImpl, ApplyProcess, ApplyQuery, ApplyRuleset, CallImpl, Dispatch, Generate, Merge, Repeat, Serialize

public interface Call
extends java.io.Serializable

An object that implements the Call interface is a basic component of a transmorpher graph. It can not contain other compononents . Methods are provided to generate an XML or a Java code representation of the Call.

Since:
jdk 1.3 / SAX 2.0
Author:
Jerome.Euzenat@inrialpes.fr

Method Summary
 void clearNull()
          Description of the Method
 void clearVisited()
          Description of the Method
 void createProcess(TProcessComposite composite)
          Creates an execution component corresponding to this Call object and adds it to the composite process in the execution structure.
 void generateJavaCode(Writer file)
          Prints the Java code for the execution of the call
 void generateXML()
          Prints the XML expression of the call
 StringParameters getAttributes()
          Gets the attributes attribute of the Call object
 java.lang.String getId()
          Gets the id attribute of the Call object
 Parameters getParameters()
          Gets the parameters attribute of the Call object
 Process getProcess()
          Gets the process attribute of the Call object
 java.lang.String getType()
          Gets the type attribute of the Call object
 PortList inPorts()
          Returns the PortList which contains the in ports of this Call
 PortList outPorts()
          Returns the PortList which contains the out ports of this Call
 void setId(java.lang.String name)
          Sets the id attribute of the Call object
 void setParameters(Parameters param)
          Sets the parameters attribute of the Call object
 void setType(java.lang.String type)
          Sets the type attribute of the Call object
 void setUp()
          Description of the Method
 

Method Detail

generateXML

void generateXML()
Prints the XML expression of the call


generateJavaCode

void generateJavaCode(Writer file)
                      throws java.io.IOException
Prints the Java code for the execution of the call

Parameters:
file - the file to write in
Throws:
java.io.IOException - sends if an IO error occurs.

getId

java.lang.String getId()
Gets the id attribute of the Call object

Returns:
The id value

setId

void setId(java.lang.String name)
Sets the id attribute of the Call object

Parameters:
name - The new id value

getType

java.lang.String getType()
Gets the type attribute of the Call object

Returns:
The type value

setType

void setType(java.lang.String type)
Sets the type attribute of the Call object

Parameters:
type - The new type value

setParameters

void setParameters(Parameters param)
Sets the parameters attribute of the Call object

Parameters:
param - The new parameters value

getAttributes

StringParameters getAttributes()
Gets the attributes attribute of the Call object

Returns:
The attributes value

getParameters

Parameters getParameters()
Gets the parameters attribute of the Call object

Returns:
The parameters value

getProcess

Process getProcess()
Gets the process attribute of the Call object

Returns:
The process value

inPorts

PortList inPorts()
Returns the PortList which contains the in ports of this Call

Returns:
the in portlist

outPorts

PortList outPorts()
Returns the PortList which contains the out ports of this Call

Returns:
the out portlist.

setUp

void setUp()
Description of the Method


clearVisited

void clearVisited()
Description of the Method


clearNull

void clearNull()
Description of the Method


createProcess

void createProcess(TProcessComposite composite)
Creates an execution component corresponding to this Call object and adds it to the composite process in the execution structure.

Parameters:
composite - The composite process.

INRIA & FluxMedia

..no bottom yet...