Package org.ehrbase.client.aql.funtion
Class AbstractFunction<T>
- java.lang.Object
-
- org.ehrbase.client.aql.funtion.AbstractFunction<T>
-
- All Implemented Interfaces:
AqlField<T>,SelectAqlField<T>,Function
public abstract class AbstractFunction<T> extends Object implements Function, SelectAqlField<T>
- Author:
- Stefan Spiska
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractFunction(List<SelectAqlField<?>> parameters, AQLFunction function, String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbuildAQL(Containment ehrContainment)protected static <X> AbstractFunction<X>create(List<SelectAqlField<?>> parameters, AQLFunction function, String name, Class<X> aClass)StringgetName()List<SelectAqlField<?>>getParameters()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ehrbase.client.aql.field.AqlField
getValueClass, isMultiValued
-
Methods inherited from interface org.ehrbase.client.aql.field.SelectAqlField
getContainment, getEntityClass, getPath
-
-
-
-
Constructor Detail
-
AbstractFunction
protected AbstractFunction(List<SelectAqlField<?>> parameters, AQLFunction function, String name)
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceSelectAqlField<T>
-
getParameters
public List<SelectAqlField<?>> getParameters()
- Specified by:
getParametersin interfaceFunction
-
buildAQL
public String buildAQL(Containment ehrContainment)
- Specified by:
buildAQLin interfaceSelectAqlField<T>
-
create
protected static <X> AbstractFunction<X> create(List<SelectAqlField<?>> parameters, AQLFunction function, String name, Class<X> aClass)
-
-