fr.fluxmedia.transmorpher.graph
Class ApplyImpl
java.lang.Object
java.util.Observable
fr.fluxmedia.transmorpher.graph.CallImpl
fr.fluxmedia.transmorpher.graph.ApplyImpl
- All Implemented Interfaces:
- Call, java.io.Serializable
- Direct Known Subclasses:
- ApplyExternal, ApplyProcess, ApplyQuery, ApplyRuleset
public abstract class ApplyImpl
- extends CallImpl
This class is an helper class for the Apply Call .
Methods to manage the reference (name of the transformation to call) are provided
- Since:
- jdk 1.3 / SAX 2.0
- Author:
- Jerome.Euzenat@inrialpes.fr
- See Also:
- Serialized Form
Constructor Summary |
ApplyImpl(java.lang.String id,
java.lang.String type,
Process process,
java.lang.String reference,
int in,
int out)
Creates an instance of ApplyImpl with an id, a type, a process, a reference ,a nuber of in and a number of out |
Method Summary |
java.lang.String |
getRef()
Gets the name of the transformation called by this ApplyImpl object |
void |
retroNull(PortList out,
PortList in)
Propagates the nullity of all its output to all its input. |
void |
setRef(java.lang.String reference)
Sets the name of the transformation this ApplyImpl object has to call |
Methods inherited from class fr.fluxmedia.transmorpher.graph.CallImpl |
addIn, addIn, addOut, addOut, clearNull, clearVisited, createProcess, generateJavaCode, generateParameters, generatePorts, generateXML, getAttributes, getId, getParameters, getProcess, getType, inPorts, newProcess, outPorts, retroNull, setId, setParameters, setType, setUp, toString, update |
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, wait, wait, wait |
ApplyImpl
public ApplyImpl(java.lang.String id,
java.lang.String type,
Process process,
java.lang.String reference,
int in,
int out)
- Creates an instance of ApplyImpl with an id, a type, a process, a reference ,a nuber of in and a number of out
- Parameters:
id
- The id of this instancetype
- The type of this instanceprocess
- The process that owns this instancereference
- The name of the transformation called by this instancein
- The number of in portsout
- The number of out ports
retroNull
public void retroNull(PortList out,
PortList in)
- Propagates the nullity of all its output to all its input.
This is a basic implementation that does not take into account
the structure of the applied stuff and can be overloaded
- Parameters:
out
- Description of the Parameterin
- Description of the Parameter
getRef
public java.lang.String getRef()
- Gets the name of the transformation called by this ApplyImpl object
- Returns:
- The reference value
setRef
public void setRef(java.lang.String reference)
- Sets the name of the transformation this ApplyImpl object has to call
- Parameters:
reference
- The new reference value
..no bottom yet...