Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E14613-01


oracle.iam.rm.server_api
Class AttributeFilterCriterion

java.lang.Object
  extended by oracle.iam.rm.server_api.FilterCriterion
      extended by oracle.iam.rm.server_api.AttributeFilterCriterion

All Implemented Interfaces:
java.io.Serializable

public class AttributeFilterCriterion
extends FilterCriterion

A filter that uses an object's attributes to determine if it should be included.

See Also:
Serialized Form

Field Summary
static java.lang.String OPERATION_AFTER
          The "after" date operator (>).
static java.lang.String OPERATION_BEFORE
          The "before" date operator (<).
static java.lang.String OPERATION_BEGINS_WITH
          The "begins with" string operator (BEGIN).
static java.lang.String OPERATION_ENDS_WITH
          The "ends with" string operator (END).
static java.lang.String OPERATION_EQUALS
          The "equals" operator (=).
static java.lang.String OPERATION_GREATER_THAN
          The "greater than" operator (>).
static java.lang.String OPERATION_GREATER_THAN_OR_EQUALS
          The "greater than or equals" operator.
static java.lang.String OPERATION_IS_NOT_NULL
          The "is not null" operator (is not null).
static java.lang.String OPERATION_IS_NULL
          The "is null" operator (is null).
static java.lang.String OPERATION_LIKE
          The "like" string operator (LIKE).
static java.lang.String OPERATION_NOT_EQUALS
          The "not equals" operator (!=).
static java.lang.String OPERATION_ON_OR_AFTER
          The "on or after" date operator (>=).
static java.lang.String OPERATION_ON_OR_BEFORE
          The "on or before" date operator (<=)r
static java.lang.String OPERATION_SMALLER_THAN
          The "smaller than" operator (<).
static java.lang.String OPERATION_SMALLER_THAN_OR_EQUALS
          The "smaller than or equals" operator (<=).

 

Constructor Summary
AttributeFilterCriterion(java.lang.String objectTypeId, java.lang.String attributeId, java.lang.Object value)
          Creates a FilterCriterion with an implicit OPERATION_EQUALS operation.
AttributeFilterCriterion(java.lang.String objectTypeId, java.lang.String attributeId, java.lang.Object value, java.lang.String operation)
          Creates a FilterCriterion.

 

Method Summary
 java.lang.String getAttributeId()
          Gets the ID of the attribute to filter.
 java.lang.String getObjectTypeId()
          Gets the object type on which the attribute is defined.
 java.lang.String getOperation()
          Gets the operation of the filter, either AND or OR.
 java.lang.Object getValue()
          Gets the value to filter with.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

OPERATION_EQUALS

public static final java.lang.String OPERATION_EQUALS
The "equals" operator (=).
See Also:
Constant Field Values

OPERATION_NOT_EQUALS

public static final java.lang.String OPERATION_NOT_EQUALS
The "not equals" operator (!=).
See Also:
Constant Field Values

OPERATION_LIKE

public static final java.lang.String OPERATION_LIKE
The "like" string operator (LIKE).
See Also:
Constant Field Values

OPERATION_BEGINS_WITH

public static final java.lang.String OPERATION_BEGINS_WITH
The "begins with" string operator (BEGIN).
See Also:
Constant Field Values

OPERATION_ENDS_WITH

public static final java.lang.String OPERATION_ENDS_WITH
The "ends with" string operator (END).
See Also:
Constant Field Values

OPERATION_SMALLER_THAN

public static final java.lang.String OPERATION_SMALLER_THAN
The "smaller than" operator (<).
See Also:
Constant Field Values

OPERATION_SMALLER_THAN_OR_EQUALS

public static final java.lang.String OPERATION_SMALLER_THAN_OR_EQUALS
The "smaller than or equals" operator (<=).
See Also:
Constant Field Values

OPERATION_GREATER_THAN

public static final java.lang.String OPERATION_GREATER_THAN
The "greater than" operator (>).
See Also:
Constant Field Values

OPERATION_GREATER_THAN_OR_EQUALS

public static final java.lang.String OPERATION_GREATER_THAN_OR_EQUALS
The "greater than or equals" operator. (>=)
See Also:
Constant Field Values

OPERATION_BEFORE

public static final java.lang.String OPERATION_BEFORE
The "before" date operator (<).
See Also:
Constant Field Values

OPERATION_ON_OR_BEFORE

public static final java.lang.String OPERATION_ON_OR_BEFORE
The "on or before" date operator (<=)r
See Also:
Constant Field Values

OPERATION_AFTER

public static final java.lang.String OPERATION_AFTER
The "after" date operator (>).
See Also:
Constant Field Values

OPERATION_ON_OR_AFTER

public static final java.lang.String OPERATION_ON_OR_AFTER
The "on or after" date operator (>=).
See Also:
Constant Field Values

OPERATION_IS_NULL

public static final java.lang.String OPERATION_IS_NULL
The "is null" operator (is null).
See Also:
Constant Field Values

OPERATION_IS_NOT_NULL

public static final java.lang.String OPERATION_IS_NOT_NULL
The "is not null" operator (is not null).
See Also:
Constant Field Values

Constructor Detail

AttributeFilterCriterion

public AttributeFilterCriterion(java.lang.String objectTypeId,
                                java.lang.String attributeId,
                                java.lang.Object value)
Creates a FilterCriterion with an implicit OPERATION_EQUALS operation.
Parameters:
objectTypeId - ID of object type on which the attribute is defined
attributeId - ID of the attribute to filter
value - Object value to filter with

AttributeFilterCriterion

public AttributeFilterCriterion(java.lang.String objectTypeId,
                                java.lang.String attributeId,
                                java.lang.Object value,
                                java.lang.String operation)
Creates a FilterCriterion.
Parameters:
objectTypeId - ID of object type on which the attribute is defined. Must not be null.
attributeId - ID of the attribute to filter. Must not be null.
value - Object value to filter with
operation - String representing filter operation, either AND or OR. Must not be null.

Method Detail

getAttributeId

public java.lang.String getAttributeId()
Gets the ID of the attribute to filter.
Returns:
String representing the ID of the attribute to filter.

getOperation

public java.lang.String getOperation()
Gets the operation of the filter, either AND or OR.
Returns:
String representing the filter operation.

getValue

public java.lang.Object getValue()
Gets the value to filter with.
Returns:
Object value to filter with.

getObjectTypeId

public java.lang.String getObjectTypeId()
Gets the object type on which the attribute is defined.
Returns:
String representing the object type on which the attribute is defined.

Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E14613-01


Copyright © 2008, 2009 Oracle. All Rights Reserved.