Oracle Entitlements Server for Java API Reference

com.bea.security
Class ConstraintAttribute

java.lang.Object
  |
  +--com.bea.security.ConstraintAttribute

public class ConstraintAttribute
extends java.lang.Object

This Class represents the various types of attributes present in a policy constraint. The attributes and their evaluated results are stored in this class

Author:
Copyright © 2004-2008, Oracle and/or its affiliates. All rights reserved.

Field Summary
static java.lang.String BOOLEAN
          The data type of attribute value is type boolean
static java.lang.String DATE
          The data type of attribute value is type date
static int DYNAMIC
          The attribute is of type DYNAMIC
static int FUNCTION
          The attribute is of type FUNCTION
static int IDENTITY
          The attribute is of type IDENTITY
static java.lang.String INTEGER
          The data type of attribute value is type integer
static java.lang.String IP_ADDRESS
          The data type of attribute value is type ip
static int RESOURCE
          The attribute is of type RESOURCE
static java.lang.String STRING
          The data type of attribute value is type string
static java.lang.String TIME
          The data type of attribute value is type time
static int UNKNOWN
          The attribute is not of RESOURCE, IDENTITY, DYNAMIC or FUNCTION
 
Method Summary
 java.lang.String getDataType()
          Returns the data type of attribute value
 java.lang.String getName()
          Returns the attribute name
 int getType()
          Returns the attribute type
 java.lang.String getValue()
          Returns the attribute value
 java.lang.String toString()
          Returns a string representation of this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNKNOWN

public static final int UNKNOWN
The attribute is not of RESOURCE, IDENTITY, DYNAMIC or FUNCTION

RESOURCE

public static final int RESOURCE
The attribute is of type RESOURCE

IDENTITY

public static final int IDENTITY
The attribute is of type IDENTITY

DYNAMIC

public static final int DYNAMIC
The attribute is of type DYNAMIC

FUNCTION

public static final int FUNCTION
The attribute is of type FUNCTION

STRING

public static final java.lang.String STRING
The data type of attribute value is type string

INTEGER

public static final java.lang.String INTEGER
The data type of attribute value is type integer

BOOLEAN

public static final java.lang.String BOOLEAN
The data type of attribute value is type boolean

IP_ADDRESS

public static final java.lang.String IP_ADDRESS
The data type of attribute value is type ip

DATE

public static final java.lang.String DATE
The data type of attribute value is type date

TIME

public static final java.lang.String TIME
The data type of attribute value is type time
Method Detail

toString

public java.lang.String toString()
Returns a string representation of this object

Returns:
Returns a string representation of this object
Overrides:
toString in class java.lang.Object

getType

public int getType()
Returns the attribute type

Returns:
Returns the attribute type (RESOURCE, IDENTITY, DYNAMIC or FUNCTION)

getName

public java.lang.String getName()
Returns the attribute name

Returns:
Returns the name of this attribute

getValue

public java.lang.String getValue()
Returns the attribute value

Returns:
Returns the value of this attribute

getDataType

public java.lang.String getDataType()
Returns the data type of attribute value

Returns:
Returns the data type of attribute value for non-attribute data