org.gcube.datatransformation.datatransformationlibrary.model
Class Target
java.lang.Object
org.gcube.datatransformation.datatransformationlibrary.model.TransformationRuleElement
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Target
public Target()
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.