Package org.hcjf.layers.query.model
Class QueryFunction
- java.lang.Object
-
- org.hcjf.layers.query.model.QueryParameter
-
- org.hcjf.layers.query.model.QueryFunction
-
- All Implemented Interfaces:
java.lang.Comparable<QueryParameter>,QueryComponent
- Direct Known Subclasses:
QueryOrderFunction,QueryReturnFunction
public class QueryFunction extends QueryParameter
-
-
Constructor Summary
Constructors Constructor Description QueryFunction(Query query, java.lang.String originalFunction, java.lang.String functionName, java.util.List<java.lang.Object> parameters)
-
Method Summary
Modifier and Type Method Description java.lang.StringgetFunctionName()java.util.List<java.lang.Object>getParameters()java.util.Set<QueryResource>getResources()booleanverifyResource(QueryResource resource)Verify if the query parameter make reference to the specified resource.-
Methods inherited from class org.hcjf.layers.query.model.QueryParameter
compareTo, equals, getFieldPath, getOriginalValue, getResource, isUnderlying, toString
-
-
-
-
Constructor Detail
-
QueryFunction
public QueryFunction(Query query, java.lang.String originalFunction, java.lang.String functionName, java.util.List<java.lang.Object> parameters)
-
-
Method Detail
-
getFunctionName
public java.lang.String getFunctionName()
-
getParameters
public java.util.List<java.lang.Object> getParameters()
-
getResources
public java.util.Set<QueryResource> getResources()
-
verifyResource
public boolean verifyResource(QueryResource resource)
Description copied from class:QueryParameterVerify if the query parameter make reference to the specified resource.- Specified by:
verifyResourcein classQueryParameter- Parameters:
resource- Resource instance to test.- Returns:
- Returns true if the parameter make reference to the specified resource and false in the otherwise.
-
-