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
Fields inherited from class java.util.Observable |
changed, obs |
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 |
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
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)
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(Writer file,
LinearIndexedStruct externs)
throws java.io.IOException
- 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)
- Specified by:
update
in interface Transformation
..no bottom yet...