Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E12031-02


oracle.iam.rm.temporal
Class TemporalContext

java.lang.Object
  extended by oracle.iam.rm.temporal.TemporalContext


public class TemporalContext
extends java.lang.Object

Object that represents a temporal context.


Constructor Summary
TemporalContext()
          Creates a TemporalContext object with current value time and current transaction time.
TemporalContext(oracle.iam.rm.util.DateTime valueTime)
          Creates a TemporalContext object with a specified value time as a DateTime and current transaction time.
TemporalContext(oracle.iam.rm.util.DateTime valueTime, oracle.iam.rm.util.DateTime transactionTime)
          Creates a TemporalContext object with a specified value time as a DateTime and specified transaction time as a DateTime.
TemporalContext(long valueTime)
          Creates a TemporalContext object with a specified value time as a long and current transaction time.
TemporalContext(long valueTime, long transactionTime)
          Creates a TemporalContext object with a specified value time as a long and specified transaction time as a long.

 

Method Summary
 boolean equals(java.lang.Object o)
           
 oracle.iam.rm.util.DateTime getTransactionTime()
          Gets the transaction time.
 oracle.iam.rm.util.DateTime getValueTime()
          Gets the value time.
 int hashCode()
           
 java.lang.String toString()
           

 

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

 

Constructor Detail

TemporalContext

public TemporalContext()
Creates a TemporalContext object with current value time and current transaction time.

TemporalContext

public TemporalContext(long valueTime)
Creates a TemporalContext object with a specified value time as a long and current transaction time.
Parameters:
valueTime - value time to use

TemporalContext

public TemporalContext(oracle.iam.rm.util.DateTime valueTime)
Creates a TemporalContext object with a specified value time as a DateTime and current transaction time.
Parameters:
valueTime - value time to use

TemporalContext

public TemporalContext(long valueTime,
                       long transactionTime)
Creates a TemporalContext object with a specified value time as a long and specified transaction time as a long.
Parameters:
valueTime - value time to use
transactionTime - transaction time to use

TemporalContext

public TemporalContext(oracle.iam.rm.util.DateTime valueTime,
                       oracle.iam.rm.util.DateTime transactionTime)
Creates a TemporalContext object with a specified value time as a DateTime and specified transaction time as a DateTime.
Parameters:
valueTime - the value time to use
transactionTime - the transaction time to use

Method Detail

getValueTime

public oracle.iam.rm.util.DateTime getValueTime()
Gets the value time.
Returns:
DateTime representing the value time of this temporal context.

getTransactionTime

public oracle.iam.rm.util.DateTime getTransactionTime()
Gets the transaction time. If this equals Constants.END_OF_TIME, then this represents a rolling forward current time.
Returns:
DateTime represenging transaction time.

equals

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

hashCode

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

toString

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

Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E12031-02


Copyright © 2007, 2008 Oracle. All Rights Reserved.