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
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
name
String name
inPorts
PortList inPorts
outPorts
PortList outPorts
parameters
Parameters parameters
iAttributes
StringParameters iAttributes
transmorpher
Transmorpher transmorpher
type
String type
TransformationImpl
public TransformationImpl(String n,
String t,
Transmorpher tm,
int nin,
int nout)
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
..no bottom yet...