org.gcube.datatransformation.datatransformationlibrary.model
Class HandlerDesc

java.lang.Object
  extended by org.gcube.datatransformation.datatransformationlibrary.model.HandlerDesc

public class HandlerDesc
extends Object

Author:
Dimitris Katris, NKUA

Describes an IO Data Handler.


Nested Class Summary
static class HandlerDesc.HandlerType
           
 
Constructor Summary
HandlerDesc()
          Instantiates a new handler description.
HandlerDesc(String id, HandlerDesc.HandlerType type, TransformationRuleElement ruleElement)
          Instantiates a new handler description.
 
Method Summary
 String getID()
          Returns the id of the handler.
 TransformationRuleElement getRuleElement()
          Returns the transformationUnit rule element.
 HandlerDesc.HandlerType getType()
          Returns the type of the handler.
 void setID(String id)
          Sets the id of the handler.
 void setRuleElement(TransformationRuleElement ruleElement)
          Sets the transformationUnit rule element.
 void setType(HandlerDesc.HandlerType type)
          Sets the type of the handler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandlerDesc

public HandlerDesc(String id,
                   HandlerDesc.HandlerType type,
                   TransformationRuleElement ruleElement)
Instantiates a new handler description.

Parameters:
id - The id of the handler.
type - The type of the handler.
ruleElement - The transformationUnit rule element.

HandlerDesc

public HandlerDesc()
Instantiates a new handler description.

Method Detail

getID

public String getID()
Returns the id of the handler.

Returns:
The id of the handler.

setID

public void setID(String id)
Sets the id of the handler.

Parameters:
id - The id of the handler.

getType

public HandlerDesc.HandlerType getType()
Returns the type of the handler.

Returns:
The type of the handler.

setType

public void setType(HandlerDesc.HandlerType type)
Sets the type of the handler.

Parameters:
type - The type of the handler.

getRuleElement

public TransformationRuleElement getRuleElement()
Returns the transformationUnit rule element.

Returns:
The transformationUnit rule element.

setRuleElement

public void setRuleElement(TransformationRuleElement ruleElement)
Sets the transformationUnit rule element.

Parameters:
ruleElement - the transformationUnit rule element.


Copyright © 2013. All Rights Reserved.