org.gcube.datatransformation.datatransformationlibrary.model
Class TransformationRuleElement

java.lang.Object
  extended by org.gcube.datatransformation.datatransformationlibrary.model.TransformationRuleElement
Direct Known Subclasses:
Source, Target

public class TransformationRuleElement
extends Object

Author:
Dimitris Katris, NKUA

TransformationRuleElement is the base implementation of the source or targets.


Field Summary
protected  ContentType contentType
           
protected  TransformationUnit transformationUnit
           
 
Constructor Summary
TransformationRuleElement()
           
 
Method Summary
 ContentType getContentType()
          Returns the content type of this element.
 TransformationUnit getTransformationUnit()
          Returns the transformation unit in which this element belongs to.
 void setContentType(ContentType contentType)
          Sets the content type of this element.
 void setTransformationUnit(TransformationUnit transformation)
          Sets the transformation unit in which this element belongs to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

transformationUnit

protected TransformationUnit transformationUnit

contentType

protected ContentType contentType
Constructor Detail

TransformationRuleElement

public TransformationRuleElement()
Method Detail

getContentType

public ContentType getContentType()
Returns the content type of this element.

Returns:
The content type of this element.

setContentType

public void setContentType(ContentType contentType)
Sets the content type of this element.

Parameters:
contentType - The content type of this element.

getTransformationUnit

public TransformationUnit getTransformationUnit()
Returns the transformation unit in which this element belongs to.

Returns:
The transformation unit in which this element belongs to.

setTransformationUnit

public void setTransformationUnit(TransformationUnit transformation)
Sets the transformation unit in which this element belongs to.

Parameters:
transformation - the transformation unit in which this element belongs to.


Copyright © 2013. All Rights Reserved.