Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 1 (11.1.1)

E22649-02 ESAPI


oracle.security.jps.service.policystore.info
Enum RuleExpressionEntry.BuiltInFunctions

java.lang.Object
  extended by java.lang.Enum<RuleExpressionEntry.BuiltInFunctions>
      extended by oracle.security.jps.service.policystore.info.RuleExpressionEntry.BuiltInFunctions

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RuleExpressionEntry.BuiltInFunctions>
Enclosing class:
RuleExpressionEntry<ReturnType extends DataType>

public static enum RuleExpressionEntry.BuiltInFunctions
extends java.lang.Enum<RuleExpressionEntry.BuiltInFunctions>

Built-in functions supported in OPSS MAPI.


Enum Constant Summary
AND
          function: urn:oasis:names:tc:xacml:1.0:function:and The function stands for an "AND" operation between two single-value boolean expressions/values.
ATTRIBUTE_HAS_VALUE
          function: attribute_has_value check if the attribute has a value assigned The function accepts a single string value.
BOOLEAN_EQUAL
          function: urn:oasis:names:tc:xacml:1.0:function:boolean-equal The function returns true if the LHS (left-hand side) matches RHS (right-hand side); If LHS or RHS is a multiple value attribute and the other side is single value attribute, the function returns false; If both LHS and RHS are multiple value attribute, they have the same number of elements and for each element from the list on the left, there exists an element from the list on the right, the function returns true.
DATE_EQUAL
          function: urn:oasis:names:tc:xacml:1.0:function:date-equal The function returns true if the LHS (left-hand side) matches RHS (right-hand side); If LHS or RHS is a multiple value attribute and the other side is single value attribute, the function returns false; If both LHS and RHS are multiple value attribute, they have the same number of elements and for each element from the list on the left, there exists an element from the list on the right, the function returns true.
DATE_GREATER_THAN
          function: urn:oasis:names:tc:xacml:1.0:function:date-greater-than The function returns true if the value of LHS is greater than RHS.
DATE_GREATER_THAN_OR_EQUAL
          function: urn:oasis:names:tc:xacml:1.0:function:date-greater-than-or-equal The function returns true if the value of LHS is greater than or equals to RHS.
DATE_IS_IN
          function: urn:oasis:names:tc:xacml:1.0:function:date-is-in The function returns true if the LHS (left-hand side) matches one of the values in RHS (right-hand side); LHS should be single-valued.
DATE_LESS_THAN
          function: urn:oasis:names:tc:xacml:1.0:function:date-less-than The function returns true if the value of LHS is less than RHS.
DATE_LESS_THAN_OR_EQUAL
          function: urn:oasis:names:tc:xacml:1.0:function:date-less-than-or-equal The function returns true if the value of LHS is less than or equals to RHS.
INTEGER_EQUAL
          function: urn:oasis:names:tc:xacml:1.0:function:integer-equal The function returns true if the LHS (left-hand side) matches RHS (right-hand side); If LHS or RHS is a multiple value attribute and the other side is single value attribute, the function returns false; If both LHS and RHS are multiple value attribute, they have the same number of elements and for each element from the list on the left, there exists an element from the list on the right, the function returns true.
INTEGER_GREATER_THAN
          function: urn:oasis:names:tc:xacml:1.0:function:integer-greater-than The function returns true if the value of LHS is greater than RHS.
INTEGER_GREATER_THAN_OR_EQUAL
          function: urn:oasis:names:tc:xacml:1.0:function:integer-greater-than-or-equal The function returns true if the value of LHS is greater than or equals to RHS.
INTEGER_IS_IN
          function: urn:oasis:names:tc:xacml:1.0:function:integer-is-in The function returns true if the LHS (left-hand side) matches one of the values in RHS (right-hand side); LHS should be single-valued.
INTEGER_LESS_THAN
          function: urn:oasis:names:tc:xacml:1.0:function:integer-less-than The function returns true if the value of LHS is less than RHS.
INTEGER_LESS_THAN_OR_EQUAL
          function: urn:oasis:names:tc:xacml:1.0:function:integer-less-than-or-equal The function returns true if the value of LHS is less than or equals to RHS.
NOT
          function: urn:oasis:names:tc:xacml:1.0:function:not The function stands for a "NOT" operation on a single-value boolean expression/value.
OR
          function: urn:oasis:names:tc:xacml:1.0:function:or The function stands for an "OR" operation between two single-value boolean expressions/values.
STRING_EQUAL
          function: urn:oasis:names:tc:xacml:1.0:function:string-equal The function returns true if the LHS (left-hand side) matches RHS (right-hand side); If LHS or RHS is a multiple value attribute and the other side is single value attribute, the function returns false; If both LHS and RHS are multiple value attribute, they have the same number of elements and for each element from the list on the left, there exists an element from the list on the right, the function returns true.
STRING_IS_IN
          function: urn:oasis:names:tc:xacml:1.0:function:string-is-in The function returns true if the LHS (left-hand side) matches one of the values in RHS (right-hand side); LHS should be single-valued.
STRING_REGEXP_MATCH
          function: urn:oasis:names:tc:xacml:1.0:function:string-regexp-match The LHS should be a single-value string type attribute/value.
TIME_EQUAL
          function: urn:oasis:names:tc:xacml:1.0:function:time-equal The function returns true if the LHS (left-hand side) matches RHS (right-hand side); If LHS or RHS is a multiple value attribute and the other side is single value attribute, the function returns false; If both LHS and RHS are multiple value attribute, they have the same number of elements and for each element from the list on the left, there exists an element from the list on the right, the function returns true.
TIME_GREATER_THAN
          function: urn:oasis:names:tc:xacml:1.0:function:time-greater-than The function returns true if the value of LHS is greater than RHS.
TIME_GREATER_THAN_OR_EQUAL
          function: urn:oasis:names:tc:xacml:1.0:function:time-greater-than-or-equal The function returns true if the value of LHS is greater than or equals to RHS.
TIME_IS_IN
          function: urn:oasis:names:tc:xacml:1.0:function:time-is-in The function returns true if the LHS (left-hand side) matches one of the values in RHS (right-hand side); LHS should be single-valued.
TIME_LESS_THAN
          function: urn:oasis:names:tc:xacml:1.0:function:time-less-than The function returns true if the value of LHS is less than RHS.
TIME_LESS_THAN_OR_EQUAL
          function: urn:oasis:names:tc:xacml:1.0:function:time-less-than-or-equal The function returns true if the value of LHS is less than or equals to RHS.
VALID_FOR_HOURS
          function: valid_for_hours decision cache is valid for a given number of hours The function accepts a single integer value.
VALID_FOR_MINUTES
          function: valid_for_minutes decision cache is valid for a given number of minutes The function accepts a single integer value.
VALID_FOR_MSECONDS
          function: valide_for_mseconds decision cache is valid for a given number of milliseconds The function accepts a single integer value.
VALID_FOR_SECONDS
          function: valid_for_seconds decision cache is valid for a given number of seconds The function accepts a single integer value.
VALID_UNTIL_DATE
          function: valid_for_date decision cache is valid the specified date on the date the evaluation is performed.
VALID_UNTIL_TIME
          function: valid_until_time decision cache is valid the specified time on the date the evaluation is performed.

 

Method Summary
static RuleExpressionEntry.BuiltInFunctions valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RuleExpressionEntry.BuiltInFunctions[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.

 

Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Enum Constant Detail

BOOLEAN_EQUAL

public static final RuleExpressionEntry.BuiltInFunctions BOOLEAN_EQUAL
function: urn:oasis:names:tc:xacml:1.0:function:boolean-equal The function returns true if the LHS (left-hand side) matches RHS (right-hand side); If LHS or RHS is a multiple value attribute and the other side is single value attribute, the function returns false; If both LHS and RHS are multiple value attribute, they have the same number of elements and for each element from the list on the left, there exists an element from the list on the right, the function returns true.

STRING_EQUAL

public static final RuleExpressionEntry.BuiltInFunctions STRING_EQUAL
function: urn:oasis:names:tc:xacml:1.0:function:string-equal The function returns true if the LHS (left-hand side) matches RHS (right-hand side); If LHS or RHS is a multiple value attribute and the other side is single value attribute, the function returns false; If both LHS and RHS are multiple value attribute, they have the same number of elements and for each element from the list on the left, there exists an element from the list on the right, the function returns true.

INTEGER_EQUAL

public static final RuleExpressionEntry.BuiltInFunctions INTEGER_EQUAL
function: urn:oasis:names:tc:xacml:1.0:function:integer-equal The function returns true if the LHS (left-hand side) matches RHS (right-hand side); If LHS or RHS is a multiple value attribute and the other side is single value attribute, the function returns false; If both LHS and RHS are multiple value attribute, they have the same number of elements and for each element from the list on the left, there exists an element from the list on the right, the function returns true.

DATE_EQUAL

public static final RuleExpressionEntry.BuiltInFunctions DATE_EQUAL
function: urn:oasis:names:tc:xacml:1.0:function:date-equal The function returns true if the LHS (left-hand side) matches RHS (right-hand side); If LHS or RHS is a multiple value attribute and the other side is single value attribute, the function returns false; If both LHS and RHS are multiple value attribute, they have the same number of elements and for each element from the list on the left, there exists an element from the list on the right, the function returns true.

TIME_EQUAL

public static final RuleExpressionEntry.BuiltInFunctions TIME_EQUAL
function: urn:oasis:names:tc:xacml:1.0:function:time-equal The function returns true if the LHS (left-hand side) matches RHS (right-hand side); If LHS or RHS is a multiple value attribute and the other side is single value attribute, the function returns false; If both LHS and RHS are multiple value attribute, they have the same number of elements and for each element from the list on the left, there exists an element from the list on the right, the function returns true.

STRING_IS_IN

public static final RuleExpressionEntry.BuiltInFunctions STRING_IS_IN
function: urn:oasis:names:tc:xacml:1.0:function:string-is-in The function returns true if the LHS (left-hand side) matches one of the values in RHS (right-hand side); LHS should be single-valued. RHS can be single or multi-valued.

INTEGER_IS_IN

public static final RuleExpressionEntry.BuiltInFunctions INTEGER_IS_IN
function: urn:oasis:names:tc:xacml:1.0:function:integer-is-in The function returns true if the LHS (left-hand side) matches one of the values in RHS (right-hand side); LHS should be single-valued. RHS can be single or multi-valued.

DATE_IS_IN

public static final RuleExpressionEntry.BuiltInFunctions DATE_IS_IN
function: urn:oasis:names:tc:xacml:1.0:function:date-is-in The function returns true if the LHS (left-hand side) matches one of the values in RHS (right-hand side); LHS should be single-valued. RHS can be single or multi-valued.

TIME_IS_IN

public static final RuleExpressionEntry.BuiltInFunctions TIME_IS_IN
function: urn:oasis:names:tc:xacml:1.0:function:time-is-in The function returns true if the LHS (left-hand side) matches one of the values in RHS (right-hand side); LHS should be single-valued. RHS can be single or multi-valued.

INTEGER_GREATER_THAN

public static final RuleExpressionEntry.BuiltInFunctions INTEGER_GREATER_THAN
function: urn:oasis:names:tc:xacml:1.0:function:integer-greater-than The function returns true if the value of LHS is greater than RHS. Both LHS and RHS should be single value.

INTEGER_GREATER_THAN_OR_EQUAL

public static final RuleExpressionEntry.BuiltInFunctions INTEGER_GREATER_THAN_OR_EQUAL
function: urn:oasis:names:tc:xacml:1.0:function:integer-greater-than-or-equal The function returns true if the value of LHS is greater than or equals to RHS. Both LHS and RHS should be single value.

INTEGER_LESS_THAN

public static final RuleExpressionEntry.BuiltInFunctions INTEGER_LESS_THAN
function: urn:oasis:names:tc:xacml:1.0:function:integer-less-than The function returns true if the value of LHS is less than RHS. Both LHS and RHS should be single value.

INTEGER_LESS_THAN_OR_EQUAL

public static final RuleExpressionEntry.BuiltInFunctions INTEGER_LESS_THAN_OR_EQUAL
function: urn:oasis:names:tc:xacml:1.0:function:integer-less-than-or-equal The function returns true if the value of LHS is less than or equals to RHS. Both LHS and RHS should be single value.

TIME_GREATER_THAN

public static final RuleExpressionEntry.BuiltInFunctions TIME_GREATER_THAN
function: urn:oasis:names:tc:xacml:1.0:function:time-greater-than The function returns true if the value of LHS is greater than RHS. Both LHS and RHS should be single value.

TIME_GREATER_THAN_OR_EQUAL

public static final RuleExpressionEntry.BuiltInFunctions TIME_GREATER_THAN_OR_EQUAL
function: urn:oasis:names:tc:xacml:1.0:function:time-greater-than-or-equal The function returns true if the value of LHS is greater than or equals to RHS. Both LHS and RHS should be single value.

TIME_LESS_THAN

public static final RuleExpressionEntry.BuiltInFunctions TIME_LESS_THAN
function: urn:oasis:names:tc:xacml:1.0:function:time-less-than The function returns true if the value of LHS is less than RHS. Both LHS and RHS should be single value.

TIME_LESS_THAN_OR_EQUAL

public static final RuleExpressionEntry.BuiltInFunctions TIME_LESS_THAN_OR_EQUAL
function: urn:oasis:names:tc:xacml:1.0:function:time-less-than-or-equal The function returns true if the value of LHS is less than or equals to RHS. Both LHS and RHS should be single value.

DATE_GREATER_THAN

public static final RuleExpressionEntry.BuiltInFunctions DATE_GREATER_THAN
function: urn:oasis:names:tc:xacml:1.0:function:date-greater-than The function returns true if the value of LHS is greater than RHS. Both LHS and RHS should be single value.

DATE_GREATER_THAN_OR_EQUAL

public static final RuleExpressionEntry.BuiltInFunctions DATE_GREATER_THAN_OR_EQUAL
function: urn:oasis:names:tc:xacml:1.0:function:date-greater-than-or-equal The function returns true if the value of LHS is greater than or equals to RHS. Both LHS and RHS should be single value.

DATE_LESS_THAN

public static final RuleExpressionEntry.BuiltInFunctions DATE_LESS_THAN
function: urn:oasis:names:tc:xacml:1.0:function:date-less-than The function returns true if the value of LHS is less than RHS. Both LHS and RHS should be single value.

DATE_LESS_THAN_OR_EQUAL

public static final RuleExpressionEntry.BuiltInFunctions DATE_LESS_THAN_OR_EQUAL
function: urn:oasis:names:tc:xacml:1.0:function:date-less-than-or-equal The function returns true if the value of LHS is less than or equals to RHS. Both LHS and RHS should be single value.

STRING_REGEXP_MATCH

public static final RuleExpressionEntry.BuiltInFunctions STRING_REGEXP_MATCH
function: urn:oasis:names:tc:xacml:1.0:function:string-regexp-match The LHS should be a single-value string type attribute/value. The RHS should be a single value string which complies with Java Regular Expression. http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html

OR

public static final RuleExpressionEntry.BuiltInFunctions OR
function: urn:oasis:names:tc:xacml:1.0:function:or The function stands for an "OR" operation between two single-value boolean expressions/values.

AND

public static final RuleExpressionEntry.BuiltInFunctions AND
function: urn:oasis:names:tc:xacml:1.0:function:and The function stands for an "AND" operation between two single-value boolean expressions/values.

NOT

public static final RuleExpressionEntry.BuiltInFunctions NOT
function: urn:oasis:names:tc:xacml:1.0:function:not The function stands for a "NOT" operation on a single-value boolean expression/value.

VALID_FOR_MSECONDS

public static final RuleExpressionEntry.BuiltInFunctions VALID_FOR_MSECONDS
function: valide_for_mseconds decision cache is valid for a given number of milliseconds The function accepts a single integer value.

VALID_FOR_SECONDS

public static final RuleExpressionEntry.BuiltInFunctions VALID_FOR_SECONDS
function: valid_for_seconds decision cache is valid for a given number of seconds The function accepts a single integer value.

VALID_FOR_MINUTES

public static final RuleExpressionEntry.BuiltInFunctions VALID_FOR_MINUTES
function: valid_for_minutes decision cache is valid for a given number of minutes The function accepts a single integer value.

VALID_FOR_HOURS

public static final RuleExpressionEntry.BuiltInFunctions VALID_FOR_HOURS
function: valid_for_hours decision cache is valid for a given number of hours The function accepts a single integer value.

VALID_UNTIL_TIME

public static final RuleExpressionEntry.BuiltInFunctions VALID_UNTIL_TIME
function: valid_until_time decision cache is valid the specified time on the date the evaluation is performed. The function accepts a single time value.

VALID_UNTIL_DATE

public static final RuleExpressionEntry.BuiltInFunctions VALID_UNTIL_DATE
function: valid_for_date decision cache is valid the specified date on the date the evaluation is performed. The function accepts a single date value.

ATTRIBUTE_HAS_VALUE

public static final RuleExpressionEntry.BuiltInFunctions ATTRIBUTE_HAS_VALUE
function: attribute_has_value check if the attribute has a value assigned The function accepts a single string value.

Method Detail

values

public static RuleExpressionEntry.BuiltInFunctions[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (RuleExpressionEntry.BuiltInFunctions c : RuleExpressionEntry.BuiltInFunctions.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RuleExpressionEntry.BuiltInFunctions valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 1 (11.1.1)

E22649-02 ESAPI


Copyright © 2011, Oracle. All rights reserved.