INRIA & FluxMedia

fr.fluxmedia.transmorpher.Graph
Class TransformationImpl

java.lang.Object
  |
  +--fr.fluxmedia.transmorpher.Graph.TransformationImpl
All Implemented Interfaces:
Transformation
Direct Known Subclasses:
Process, Query, Ruleset

abstract class TransformationImpl
extends Object
implements Transformation


Field Summary
(package private)  StringParameters iAttributes
           
(package private)  PortList inPorts
           
(package private)  String name
           
(package private)  PortList outPorts
           
(package private)  Parameters parameters
           
(package private)  Transmorpher transmorpher
           
(package private)  String type
           
 
Constructor Summary
TransformationImpl(String n, String t, Transmorpher tm, int nin, int nout)
           
 
Method Summary
 void addIn(int i, Port p)
           
 void addOut(int i, Port p)
           
abstract  void generateJavaCode(ReadWrite file, LinearIndexedStruct externs)
          Prints the Java code for the execution of the call
abstract  void generateXML()
          Prints the XML expression of the call
 StringParameters getAttributes()
           
 String getName()
           
 Parameters getParameters()
           
 Transmorpher getTransmorpher()
           
 String getType()
           
 PortList inPorts()
           
 PortList outPorts()
           
 void retroNull(PortList out, PortList in)
          This is the trivial case if all the output is null then all the input are null
 void setName(String n)
           
 void setParameters(Parameters p)
           
 void setType(String t)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

name

String name

inPorts

PortList inPorts

outPorts

PortList outPorts

parameters

Parameters parameters

iAttributes

StringParameters iAttributes

transmorpher

Transmorpher transmorpher

type

String type
Constructor Detail

TransformationImpl

public TransformationImpl(String n,
                          String t,
                          Transmorpher tm,
                          int nin,
                          int nout)
Method Detail

getName

public String getName()
Specified by:
getName in interface Transformation

setName

public void setName(String n)
Specified by:
setName in interface Transformation

getTransmorpher

public Transmorpher getTransmorpher()
Specified by:
getTransmorpher in interface Transformation

getType

public String getType()
Specified by:
getType in interface Transformation

setType

public void setType(String t)
Specified by:
setType in interface Transformation

setParameters

public void setParameters(Parameters p)
Specified by:
setParameters in interface Transformation

getParameters

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

getAttributes

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

addIn

public void addIn(int i,
                  Port p)

inPorts

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

addOut

public void addOut(int i,
                   Port p)

outPorts

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

generateXML

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

generateJavaCode

public abstract void generateJavaCode(ReadWrite file,
                                      LinearIndexedStruct externs)
Prints the Java code for the execution of the call
Specified by:
generateJavaCode in interface Transformation

retroNull

public void retroNull(PortList out,
                      PortList in)
This is the trivial case if all the output is null then all the input are null
Specified by:
retroNull in interface Transformation

INRIA & FluxMedia

..no bottom yet...