org.gcube.datatransformation.datatransformationlibrary.transformation.model
Class TransformationDescription

java.lang.Object
  extended by org.gcube.datatransformation.datatransformationlibrary.transformation.model.TransformationDescription

public class TransformationDescription
extends Object

Represents a data transformation description.

Author:
john.gerbesiotis - DI NKUA

Constructor Summary
TransformationDescription(Input input, Output output)
           
TransformationDescription(Input input, Output output, boolean createAndPublish)
           
 
Method Summary
 void add(ArrayList<TransformationUnit> transformationUnits, ArrayList<ContentType> contentTypes)
           
 ArrayList<ContentType> getContentTypes(int index)
           
 Input getInput()
           
 URI getLocator()
           
 int getNumOfPlansAdded()
           
 Output getOutput()
           
 String getReturnedValue()
           
 ArrayList<TransformationUnit> getTransformationPath(int index)
           
 boolean hasMorePlansToBeAdded()
           
 boolean isCreateAndPublish()
           
 void setCreateAndPublish(boolean createAndPublish)
           
 void setLocator(URI locator)
           
 void setNumOfPlansAdded(int numOfPlansAdded)
           
 void setReturnedValue(String returnedValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformationDescription

public TransformationDescription(Input input,
                                 Output output)
Parameters:
input -
output -

TransformationDescription

public TransformationDescription(Input input,
                                 Output output,
                                 boolean createAndPublish)
Parameters:
input -
output -
createAndPublish -
Method Detail

getReturnedValue

public String getReturnedValue()
Returns:
the returnedValue

setReturnedValue

public void setReturnedValue(String returnedValue)
Parameters:
returnedValue - the returnedValue to set

getInput

public Input getInput()
Returns:
the input

getOutput

public Output getOutput()
Returns:
the output

isCreateAndPublish

public boolean isCreateAndPublish()
Returns:
the createAndPublish

setCreateAndPublish

public void setCreateAndPublish(boolean createAndPublish)
Parameters:
createAndPublish - the createAndPublish to set

getContentTypes

public ArrayList<ContentType> getContentTypes(int index)
Returns:
the sourceContentType

getTransformationPath

public ArrayList<TransformationUnit> getTransformationPath(int index)
Returns:
the tUnits

add

public void add(ArrayList<TransformationUnit> transformationUnits,
                ArrayList<ContentType> contentTypes)
Parameters:
transformationUnits -
contentTypes -

getNumOfPlansAdded

public int getNumOfPlansAdded()
Returns:
the numOfPlansAdded

setNumOfPlansAdded

public void setNumOfPlansAdded(int numOfPlansAdded)
Parameters:
numOfPlansAdded - the numOfPlansAdded to set

hasMorePlansToBeAdded

public boolean hasMorePlansToBeAdded()

getLocator

public URI getLocator()
Returns:
the locator

setLocator

public void setLocator(URI locator)
Parameters:
locator - the locator to set


Copyright © 2013. All Rights Reserved.