Oracle Data-aware Controls Reference

oracle.dacf.util.errormanager
Class ErrorTimeStamp

java.lang.Object
  extended byoracle.dacf.util.errormanager.ErrorTimeStamp
All Implemented Interfaces:
ErrorAttribute

public class ErrorTimeStamp
extends java.lang.Object
implements ErrorAttribute

The ErrorTimeStamp class defines the time stamp given to an error message when it is logged. The time stamp can be retrieved in any of these formats:

All of the values are returned as an ErrorAttribute implementation.

ErrorTimeStamp contains two inner classes: ErrorTimeStamp.ErrorDate to implement the date part of the time stamp and ErrorTimeStamp.ErrorTime to implement the time part.


Nested Class Summary
 class ErrorTimeStamp.ErrorDate
          Inner class implementing the data part of the time stamp as an ErrorAttribute.
 class ErrorTimeStamp.ErrorTime
          Inner class implementing the time part of the time stamp as an ErrorAttribute.
 
Constructor Summary
ErrorTimeStamp()
          Default constructor, constructing the current time as a TimeStamp.
 
Method Summary
 ErrorTimeStamp.ErrorDate getDate()
          Returns only the date part of the time stamp, implelmented as an ErrorAttribute.
 java.lang.String getLabel()
          Returns the label which is displayed for the time stamp.
 ErrorTimeStamp.ErrorTime getTime()
          Returns only the time part of the time stamp, implemented as an ErrorAttribute.
 java.lang.String toString()
          Returns the date and time representation of the time stamp as a String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ErrorTimeStamp

public ErrorTimeStamp()
Default constructor, constructing the current time as a TimeStamp.

Method Detail

toString

public java.lang.String toString()
Returns the date and time representation of the time stamp as a String.

Specified by:
toString in interface ErrorAttribute
Returns:
the date and time stamp as a String.

getLabel

public java.lang.String getLabel()
Returns the label which is displayed for the time stamp.

Specified by:
getLabel in interface ErrorAttribute
Returns:
the label for the time stamp.

getDate

public ErrorTimeStamp.ErrorDate getDate()
Returns only the date part of the time stamp, implelmented as an ErrorAttribute.

Returns:
the date part of the time stamp.

getTime

public ErrorTimeStamp.ErrorTime getTime()
Returns only the time part of the time stamp, implemented as an ErrorAttribute.

Returns:
the time part of the time stamp.

Oracle Data-aware Controls Reference

 

Copyright © 1997, 2003, Oracle. All rights reserved.