org.gcube.datatransformation.datatransformationlibrary.imanagers.queries
Class QueryObject

java.lang.Object
  extended by org.gcube.datatransformation.datatransformationlibrary.imanagers.queries.QueryObject
Direct Known Subclasses:
ContentTypeQueryObject, DescriptionQueryObject, ProgramParametersQueryObject, TransformationUnitQueryObject

public class QueryObject
extends Object

Author:
Dimitris Katris, NKUA

Abstract query object.


Constructor Summary
QueryObject()
           
 
Method Summary
 String getLogicOperation()
          Returns the logic operation.
 String getResultType()
          Returns the result type.
 boolean hasWhereClause()
           
 void setHasWhereClause(boolean hasWhereClause)
          Sets if "where" is contained in query.
 void setLogicOperation(String logicOperation)
          Sets the logic operation.
 void setResultType(String resultType)
          Sets the result type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryObject

public QueryObject()
Method Detail

getLogicOperation

public String getLogicOperation()
Returns the logic operation.

Returns:
The logic operation.

setLogicOperation

public void setLogicOperation(String logicOperation)
Sets the logic operation.

Parameters:
logicOperation - The logic operation.

getResultType

public String getResultType()
Returns the result type.

Returns:
the result type.

setResultType

public void setResultType(String resultType)
Sets the result type.

Parameters:
resultType - the result type.

hasWhereClause

public boolean hasWhereClause()
Returns:
True if "where" is contained in query.

setHasWhereClause

public void setHasWhereClause(boolean hasWhereClause)
Sets if "where" is contained in query.

Parameters:
hasWhereClause - if "where" is contained in query.


Copyright © 2013. All Rights Reserved.