Skip navigation links

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

E27155-01 ESAPI


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

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

All Implemented Interfaces:
ExpressionComponent

public class OpssString
extends DataType

The class stands for string 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
OpssString(java.lang.String val)
          Constructor

 

Method Summary
static int compare(OpssString str1, OpssString str2)
          Compares two OpssString 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.String getValue()
          Returns the string value set in the object.
 int hashCode()
           
 boolean isValid()
           
 java.lang.String toString()
           
static OpssString 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

OpssString

public OpssString(java.lang.String val)
Constructor
Parameters:
val -

Method Detail

toString

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

valueOf

public static OpssString valueOf(java.lang.String str)

compare

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

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()

getValue

public java.lang.String getValue()
Returns the string value set in the object.
Specified by:
getValue in class DataType
Returns:

hashCode

public int hashCode()
Specified by:
hashCode 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.STRING

Skip navigation links

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

E27155-01 ESAPI


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