public final class FirstOrderBagFunctions extends Object
HigherOrderBagFunction
); such as the Bag functions of section A.3.10, and the Set functions of A.3.11 of the
XACML spec.Modifier and Type | Class and Description |
---|---|
static class |
FirstOrderBagFunctions.AtLeastOneMemberOf<AV extends AttributeValue>
Generic 'type-at-least-one-member-of' function
|
static class |
FirstOrderBagFunctions.BagContains<AV extends AttributeValue>
Generic 'type-is-in' function
|
static class |
FirstOrderBagFunctions.BagSize<AV extends AttributeValue>
Generic 'type-bag-size' function
|
static class |
FirstOrderBagFunctions.Intersection<AV extends AttributeValue>
Generic 'type-intersection' function
|
static class |
FirstOrderBagFunctions.PrimitiveToBag<AV extends AttributeValue>
Generic 'type-bag' function
|
static class |
FirstOrderBagFunctions.SetEquals<AV extends AttributeValue>
Generic 'type-set-equals' function
|
static class |
FirstOrderBagFunctions.SetFunction<AV extends AttributeValue,RETURN extends Value>
Base class of all *-set functions
|
static class |
FirstOrderBagFunctions.SingletonBagToPrimitive<AV extends AttributeValue>
Generic 'type-one-and-only' function
|
static class |
FirstOrderBagFunctions.Subset<AV extends AttributeValue>
Generic 'type-subset' function
|
static class |
FirstOrderBagFunctions.Union<AV extends AttributeValue>
Generic 'type-union' function
|
Constructor and Description |
---|
FirstOrderBagFunctions() |
Modifier and Type | Method and Description |
---|---|
static <AV extends AttributeValue> |
getFunctions(AttributeDatatype<AV> paramType)
Creates/gets all first-order bag functions taking a given primitive datatype as bag's primitive type, i.e.
|
public static <AV extends AttributeValue> Set<Function<?>> getFunctions(AttributeDatatype<AV> paramType)
urn:oasis:names:tc:xacml:x.x:function:type${suffix}
functions, where urn:oasis:names:tc:xacml:x.x:function:type
is replaced by a given prefix (functionIdPrefix
) and the suffix takes the following values (one per created function):
-one-and-only
: converts a given singleton bag to a the single primitive value in the bag-bag-size
: gives the size of a given bag-is-in
: tests whether the bag contains a given primitive value-bag
: creates a singleton bag from a given primitive value-intersection
: intersection of given bags-at-least-one-member-of
: tests whether one of the values in a given bag is in another given bag-union
: union of bags-subset
: tests whether all values of a given bag are in another given bag-set-equals
: tests whether bags are equal regardless of orderparamType
- parameter datatypeCopyright © 2012–2020. All rights reserved.