nl.utwente.ewi.hmi.taverna.scuflworkers.rshell
Class RshellInputPort

java.lang.Object
  extended by org.embl.ebi.escience.scufl.Port
      extended by org.embl.ebi.escience.scufl.InputPort
          extended by nl.utwente.ewi.hmi.taverna.scuflworkers.rshell.RshellInputPort
All Implemented Interfaces:
java.awt.datatransfer.Transferable, java.io.Serializable

public class RshellInputPort
extends InputPort

InputPort specialization for Rserv processor. Add support for setting the desired javaType on input, so as to convert inputs on workflow invocation. The syntactic type will be set to l('text/plain') for all but REXP, which will be text/plain.

Author:
Stian Soiland, Ingo Wassink
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.embl.ebi.escience.scufl.InputPort
FLAVOR, MERGE, NDSELECT
 
Constructor Summary
RshellInputPort(Processor processor, java.lang.String name)
          Constructor for input port
 
Method Summary
 RshellPortTypes.SymanticTypes getSymanticType()
          Method for getting the symantic type
 void setSymanticType(RshellPortTypes.SymanticTypes symanticType)
          Method for setting the symantic type
 
Methods inherited from class org.embl.ebi.escience.scufl.InputPort
getControlledVocabulary, getDefaultValue, getMergeMode, getTransferData, getTransferDataFlavors, getWrappedDefaultValue, hasControlledVocabulary, hasDefaultValue, isBound, isDataFlavorSupported, isOptional, setControlledVocabulary, setDefaultValue, setMergeMode, setOptional
 
Methods inherited from class org.embl.ebi.escience.scufl.Port
getMetadata, getName, getProcessor, getSyntacticType, isNameEditable, isSink, isSource, setName, setSyntacticType, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RshellInputPort

public RshellInputPort(Processor processor,
                       java.lang.String name)
                throws DuplicatePortNameException,
                       PortCreationException
Constructor for input port

Parameters:
processor - the processor to which the input ports belongs
name - the name of the input port
Throws:
DuplicatePortNameException
PortCreationException
Method Detail

setSymanticType

public void setSymanticType(RshellPortTypes.SymanticTypes symanticType)
Method for setting the symantic type

Parameters:
semanticType - the new value

getSymanticType

public RshellPortTypes.SymanticTypes getSymanticType()
Method for getting the symantic type

Returns:
the symantic type