Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 2 (11.1.2)

E54416-01


oracle.security.jps.service.policystore.info
Class OpssInteger

java.lang.Object
  extended by oracle.security.jps.service.policystore.info.DataType
      extended by oracle.security.jps.service.policystore.info.OpssInteger

All Implemented Interfaces:
ExpressionComponent

public class OpssInteger
extends DataType

The class stands for integer data type which supported by OPSS policy store.


Nested Class Summary

 

Nested classes/interfaces inherited from class oracle.security.jps.service.policystore.info.DataType
DataType.TYPE

 

Nested classes/interfaces inherited from interface oracle.security.jps.service.policystore.info.ExpressionComponent
ExpressionComponent.Type

 

Constructor Summary
OpssInteger(int val)
          Constructor

 

Method Summary
static int compare(OpssInteger i1, OpssInteger i2)
          Compares two OpssInteger objects.
 boolean equals(java.lang.Object that)
          Override java method for accurate list and hashtable lookups.
 ExpressionComponent.Type getComponentType()
          Returns type of the component.
 DataType.TYPE getType()
          For all concrete subclasses, this method is required so that function evaluators at runtime don't need to keep doing instanceof
 java.lang.Integer getValue()
          Returns an object representing real value of this data type.
 int hashCode()
           
 int intValue()
          Returns the value of this Integer as an int.
 boolean isValid()
           
 java.lang.String toString()
           
static OpssInteger valueOf(java.lang.String str)
           

 

Methods inherited from class oracle.security.jps.service.policystore.info.DataType
getDataTypeObjectFromString, getDataTypeObjectFromString, getTypeClassFromClassName, getTypeFromClass

 

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

 

Constructor Detail

OpssInteger

public OpssInteger(int val)
Constructor
Parameters:
val -

Method Detail

getValue

public java.lang.Integer getValue()
Description copied from class: DataType
Returns an object representing real value of this data type. For example, OpssInteger.getValue will return an Integer object.
Specified by:
getValue in class DataType

getType

public final DataType.TYPE getType()
Description copied from class: DataType
For all concrete subclasses, this method is required so that function evaluators at runtime don't need to keep doing instanceof
Specified by:
getType in class DataType
Returns:
data type of this object, always TYPE.INTEGER

valueOf

public static OpssInteger valueOf(java.lang.String str)
                           throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

compare

public static int compare(OpssInteger i1,
                          OpssInteger i2)
Compares two OpssInteger objects. Returns -1 if i1 is smaller than i2, 0 if the two are equal and 1 if i1 is greater than i2

toString

public java.lang.String toString()
Specified by:
toString in class DataType

equals

public boolean equals(java.lang.Object that)
Description copied from class: DataType
Override java method for accurate list and hashtable lookups.
Specified by:
equals in class DataType

getComponentType

public ExpressionComponent.Type getComponentType()
Description copied from interface: ExpressionComponent
Returns type of the component.
Returns:

isValid

public boolean isValid()

intValue

public int intValue()
Returns the value of this Integer as an int.
Returns:
the value of Integer as an int.

hashCode

public int hashCode()
Specified by:
hashCode in class DataType

Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 2 (11.1.2)

E54416-01


Copyright © 2011, 2015, Oracle and/or its affiliates. All rights reserved.