org.gcube.datatransformation.datatransformationlibrary.model
Class Target

java.lang.Object
  extended by org.gcube.datatransformation.datatransformationlibrary.model.TransformationRuleElement
      extended by org.gcube.datatransformation.datatransformationlibrary.model.Target

public class Target
extends TransformationRuleElement

Author:
Dimitris Katris, NKUA

Target of a transformationUnit unit is the composition of the content type that the transformationUnit unit produces as well as the output in which data will be stored.


Field Summary
 
Fields inherited from class org.gcube.datatransformation.datatransformationlibrary.model.TransformationRuleElement
contentType, transformationUnit
 
Constructor Summary
Target()
           
 
Method Summary
protected  void fromDOM(Element targetElm)
           
 DataSink getOutput()
          Returns the output of the transformationUnit unit.
 String getOutputID()
          Returns the id of the output data handler.
 void setOutputID(String id)
          Sets the id of the output data handler.
protected  void toDOM(Element transformationElm)
           
 
Methods inherited from class org.gcube.datatransformation.datatransformationlibrary.model.TransformationRuleElement
getContentType, getTransformationUnit, setContentType, setTransformationUnit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Target

public Target()
Method Detail

setOutputID

public void setOutputID(String id)
Sets the id of the output data handler.

Parameters:
id - The id of the output data handler.

getOutputID

public String getOutputID()
Returns the id of the output data handler.

Returns:
The id of the output data handler.

getOutput

public DataSink getOutput()
                   throws Exception
Returns the output of the transformationUnit unit.

Returns:
The output of the transformationUnit unit.
Throws:
Exception - If the output does not exist.

fromDOM

protected void fromDOM(Element targetElm)

toDOM

protected void toDOM(Element transformationElm)


Copyright © 2013. All Rights Reserved.