INRIA & FluxMedia

fr.fluxmedia.transmorpher.Graph
Class TransformationImpl

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

public abstract class TransformationImpl
extends java.util.Observable
implements Transformation


Field Summary
(package private)  StringParameters iAttributes
           
(package private)  PortList inPorts
           
(package private)  java.lang.String name
           
(package private)  PortList outPorts
           
(package private)  Parameters parameters
           
(package private)  Transmorpher transmorpher
           
(package private)  java.lang.String type
           
 
Fields inherited from class java.util.Observable
changed, obs
 
Constructor Summary
TransformationImpl(java.lang.String n, java.lang.String t, Transmorpher tm)
           
TransformationImpl(java.lang.String n, java.lang.String t, Transmorpher tm, int nin, int nout)
           
 
Method Summary
 void addIn(int i, Port p)
           
 void addIn(Port p)
           
 void addOut(int i, Port p)
           
 void addOut(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()
           
 java.lang.String getName()
           
 Parameters getParameters()
           
 Transmorpher getTransmorpher()
           
 java.lang.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(java.lang.String n)
          When the process name change, we must change the key in transmorpher storage structure.
 void setParameters(Parameters p)
           
 void setType(java.lang.String t)
           
 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, toString, wait, wait, wait
 

Field Detail

name

java.lang.String name

inPorts

PortList inPorts

outPorts

PortList outPorts

parameters

Parameters parameters

iAttributes

StringParameters iAttributes

transmorpher

Transmorpher transmorpher

type

java.lang.String type
Constructor Detail

TransformationImpl

public TransformationImpl(java.lang.String n,
                          java.lang.String t,
                          Transmorpher tm)

TransformationImpl

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

getName

public java.lang.String getName()
Specified by:
getName in interface Transformation

setName

public void setName(java.lang.String n)
When the process name change, we must change the key in transmorpher storage structure.
Specified by:
setName in interface Transformation

getTransmorpher

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

getType

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

setType

public void setType(java.lang.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(Port p)

addIn

public void addIn(int i,
                  Port p)

inPorts

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

addOut

public void addOut(Port p)

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

update

public void update(java.lang.Object object)

INRIA & FluxMedia

..no bottom yet...