Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 1 (11.1.1)

E22649-02 ESAPI


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

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

All Implemented Interfaces:
ExpressionComponent

public class OpssTime
extends DataType

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


Nested Class Summary

 

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

 

Constructor Summary
OpssTime(int hour, int min, int sec)
          Constructor

 

Method Summary
 boolean equals(java.lang.Object that)
           
 ExpressionComponent.Type getComponentType()
          Returns type of the component.
 int getHour()
          Returns the hours set in the OpssTime object.
 int getMinutes()
          Returns the minutes set in the OpssTime object.A minute is represented by an integer from 0 to 59.
 java.lang.Class getRuntimeType()
          Gets runtime type
 int getSeconds()
          Returns the seconds set in the OpssTime object.A second is represented by an integer from 0 to 59.
 int hashCode()
           
 boolean isValid()
           
 java.lang.String toString()
           
static OpssTime valueOf(java.lang.String str)
           

 

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

 

Constructor Detail

OpssTime

public OpssTime(int hour,
                int min,
                int sec)
Constructor
Parameters:
hour -
min -
sec -

Method Detail

getRuntimeType

public java.lang.Class getRuntimeType()
Gets runtime type

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

valueOf

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

equals

public boolean equals(java.lang.Object that)
Overrides:
equals in class java.lang.Object

getComponentType

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

isValid

public boolean isValid()

getHour

public int getHour()
Returns the hours set in the OpssTime object. An hour is represented by an integer from 0 to 23. Thus, the hour from midnight to 1 a.m. is hour 0 * and the hour from noon to 1 p.m. is hour 12.
Returns:
the hours set in the OpssTime object.

getMinutes

public int getMinutes()
Returns the minutes set in the OpssTime object.A minute is represented by an integer from 0 to 59.
Returns:
the minutes set in the OpssTime object.

getSeconds

public int getSeconds()
Returns the seconds set in the OpssTime object.A second is represented by an integer from 0 to 59.
Returns:
the seconds set in the OpssTime object.

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 1 (11.1.1)

E22649-02 ESAPI


Copyright © 2011, Oracle. All rights reserved.