INRIA & FluxMedia

fr.fluxmedia.transmorpher.graph
Interface Call

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
CallImpl

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

public void generateXML()
Prints the XML expression of the call

generateJavaCode

public 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

public java.lang.String getId()
Gets the id attribute of the Call object
Returns:
The id value

setId

public void setId(java.lang.String name)
Sets the id attribute of the Call object
Parameters:
name - The new id value

getType

public java.lang.String getType()
Gets the type attribute of the Call object
Returns:
The type value

setType

public void setType(java.lang.String type)
Sets the type attribute of the Call object
Parameters:
type - The new type value

setParameters

public void setParameters(Parameters param)
Sets the parameters attribute of the Call object
Parameters:
param - The new parameters value

getAttributes

public StringParameters getAttributes()
Gets the attributes attribute of the Call object
Returns:
The attributes value

getParameters

public Parameters getParameters()
Gets the parameters attribute of the Call object
Returns:
The parameters value

getProcess

public Process getProcess()
Gets the process attribute of the Call object
Returns:
The process value

inPorts

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

outPorts

public PortList outPorts()
Returns the PortList which contains the out ports of this Call
Returns:
the out portlist.

setUp

public void setUp()
Description of the Method

clearVisited

public void clearVisited()
Description of the Method

clearNull

public void clearNull()
Description of the Method

createProcess

public 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...