Skip navigation links
oracle.security.jps.service.policystore.info
Class OpssBoolean
java.lang.Object
oracle.security.jps.service.policystore.info.DataType
oracle.security.jps.service.policystore.info.OpssBoolean
- All Implemented Interfaces:
- ExpressionComponent
-
public class OpssBoolean
- extends DataType
The class stands for boolean data type which supported by OPSS policy store and as defined by http://www.w3.org/2001/XMLSchema#boolean
Nested classes/interfaces inherited from class oracle.security.jps.service.policystore.info.DataType |
DataType.TYPE |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
OpssBoolean
public OpssBoolean(boolean val)
toString
public java.lang.String toString()
-
- Specified by:
toString
in class DataType
valueOf
public static OpssBoolean valueOf(java.lang.String str)
getValue
public java.lang.Boolean 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
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
getOpssBoolean
public static final OpssBoolean getOpssBoolean(boolean bool)
getComponentType
public ExpressionComponent.Type getComponentType()
- Description copied from interface:
ExpressionComponent
- Returns type of the component.
-
- Returns:
isValid
public boolean isValid()
booleanValue
public boolean booleanValue()
- Returns the value of this Boolean object as a boolean primitive.
-
- Returns:
- the value of Boolean as boolean.
hashCode
public int hashCode()
-
- Specified by:
hashCode
in class DataType
Skip navigation links
Copyright © 2011, 2013 Oracle. All rights reserved.