Package com.walkfares.function
Class GeneralFunctions
java.lang.Object
com.walkfares.function.AbstractFunctionHolder
com.walkfares.function.GeneralFunctions
- All Implemented Interfaces:
FunctionHolder
public class GeneralFunctions extends AbstractFunctionHolder implements FunctionHolder
-
Constructor Summary
Constructors Constructor Description GeneralFunctions()
-
Method Summary
Modifier and Type Method Description Var
clone(Var var)
Var
content(Var object)
Var
element(Var object, Var index)
Var
elementValues(Var object, Var element)
Var
elementValuesIndexOf(Var object, Var index)
Var
evaluate(VarScalar var)
Var
firstElement(Var object)
String
getCategory()
List<Function>
getFunctions()
Var
lastElement(Var object)
void
loadCalendars(OpenDSLContext context)
void
loadTypes(OpenDSLContext context)
VarReference
ref(OpenDSLContext context, VarScalar service, VarScalar var)
VarReference
ref(OpenDSLContext context, Var var)
Var
replaceElements(Var object, Var element)
VarScalar
uid()
-
Constructor Details
-
GeneralFunctions
public GeneralFunctions()
-
-
Method Details
-
getCategory
- Specified by:
getCategory
in interfaceFunctionHolder
-
getFunctions
- Specified by:
getFunctions
in interfaceFunctionHolder
-
loadTypes
-
loadCalendars
-
uid
-
ref
-
ref
-
clone
-
evaluate
-
firstElement
-
element
-
lastElement
-
replaceElements
-
content
-
elementValues
-
elementValuesIndexOf
-