INRIA & FluxMedia

fr.fluxmedia.transmorpher.graph
Class ApplyImpl

java.lang.Object
  extended by java.util.Observable
      extended by fr.fluxmedia.transmorpher.graph.CallImpl
          extended by 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

Field Summary
 
Fields inherited from class fr.fluxmedia.transmorpher.graph.CallImpl
attributes, id, inPorts, nullified, outPorts, parameters, process, visited
 
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
 

Constructor Detail

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 instance
type - The type of this instance
process - The process that owns this instance
reference - The name of the transformation called by this instance
in - The number of in ports
out - The number of out ports
Method Detail

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 Parameter
in - 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

INRIA & FluxMedia

..no bottom yet...