RETURN_T
- function return typepublic abstract class MultiParameterTypedFirstOrderFunction<RETURN_T extends Value> extends FirstOrderFunction<RETURN_T>
Modifier and Type | Field and Description |
---|---|
protected FirstOrderFunctionSignature<RETURN_T> |
functionSignature |
AUTHZFORCE_EXTENSION_PREFIX, XACML_NS_1_0, XACML_NS_2_0, XACML_NS_3_0
Constructor and Description |
---|
MultiParameterTypedFirstOrderFunction(String name,
Datatype<RETURN_T> returnType,
boolean varargs,
List<? extends Datatype<?>> parameterTypes)
Constructor that creates a function from its signature definition
|
Modifier and Type | Method and Description |
---|---|
List<? extends Datatype<?>> |
getParameterTypes()
Get parameter types
|
Datatype<RETURN_T> |
getReturnType()
Gets the return type of the function
|
newCall, newCall
equals, getId, getIndeterminateArgException, getIndeterminateArgMessage, hashCode, toString
protected final FirstOrderFunctionSignature<RETURN_T extends Value> functionSignature
public MultiParameterTypedFirstOrderFunction(String name, Datatype<RETURN_T> returnType, boolean varargs, List<? extends Datatype<?>> parameterTypes)
name
- function namereturnType
- function return typevarargs
- true iff the function takes a variable number of arguments (like Java Method.isVarArgs()
parameterTypes
- function parameter typesIllegalArgumentException
- if ( name == null || returnType == null || parameterTypes == null || parameterTypes.size() < 2
)public final Datatype<RETURN_T> getReturnType()
Function
public final List<? extends Datatype<?>> getParameterTypes()
getParameterTypes
in class FirstOrderFunction<RETURN_T extends Value>
Copyright © 2012–2020. All rights reserved.