AV
- primitive datatypepublic static class FirstOrderBagFunctions.SingletonBagToPrimitive<AV extends AttributeValue> extends SingleParameterTypedFirstOrderFunction<AV,Bag<AV>>
Modifier and Type | Field and Description |
---|---|
static String |
NAME_SUFFIX_ONE_AND_ONLY
Function ID suffix for 'primitiveType-one-and-only' functions
|
functionSignature
AUTHZFORCE_EXTENSION_PREFIX, XACML_NS_1_0, XACML_NS_2_0, XACML_NS_3_0
Constructor and Description |
---|
SingletonBagToPrimitive(Datatype<AV> paramType,
BagDatatype<AV> paramBagType)
Constructor
|
Modifier and Type | Method and Description |
---|---|
FirstOrderFunctionCall<AV> |
newCall(List<Expression<?>> argExpressions,
Datatype<?>... remainingArgTypes)
Returns a function call for calling this function.
|
getParameterTypes, getReturnType
newCall
equals, getId, getIndeterminateArgException, getIndeterminateArgMessage, hashCode, toString
public static final String NAME_SUFFIX_ONE_AND_ONLY
public SingletonBagToPrimitive(Datatype<AV> paramType, BagDatatype<AV> paramBagType)
paramType
- bag's primitive datatypeparamBagType
- bag datatypepublic FirstOrderFunctionCall<AV> newCall(List<Expression<?>> argExpressions, Datatype<?>... remainingArgTypes) throws IllegalArgumentException
FirstOrderFunction
newCall
in class FirstOrderFunction<AV extends AttributeValue>
argExpressions
- function arguments (expressions)remainingArgTypes
- types of remaining inputs to be passed only at request evaluation time, if not all arguments are specified in argExpressions
. Therefore, only their type is checked at
this point. The actual argument values will be passed as last parameters when calling
BaseFirstOrderFunctionCall.evaluate(org.ow2.authzforce.core.pdp.api.EvaluationContext, boolean, org.ow2.authzforce.core.pdp.api.value.AttributeValue...)
at request evaluation
time, via the returned FunctionCall
.IllegalArgumentException
- if inputs are invalid for this functionCopyright © 2012–2020. All rights reserved.