org.edg.security.voms.request
Class Request.ChronicleEntry

java.lang.Object
  |
  +--org.edg.security.voms.request.Request.ChronicleEntry
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Request

public static class Request.ChronicleEntry
extends java.lang.Object
implements java.io.Serializable

A simple class describing entries in the chronicle.

See Also:
Serialized Form

Field Summary
private  long client
          The id of the client who caused this entry.
private  java.lang.String comment
          An optional textual comment given by the initiator of the change.
private  java.lang.String description
          A description of what happened, given by the service implementation.
private  java.util.Date timestamp
          The time when the entry was created.
 
Constructor Summary
Request.ChronicleEntry(java.lang.String description)
           
Request.ChronicleEntry(java.lang.String description, java.lang.String comment)
          Create a new instance with the given values.
 
Method Summary
 DBAdmin getClient()
          Return the client of this entry.
 long getClientId()
          Return the id of the client of this entry.
 java.lang.String getComment()
          Return the client's comment about this entry.
 java.lang.String getDescription()
          Return the description of this entry.
 SOAPChronicleEntry getSOAPChronicleEntry()
           
 java.util.Date getTimestamp()
          Return the timestamp of this entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

timestamp

private java.util.Date timestamp
The time when the entry was created.


client

private long client
The id of the client who caused this entry.


description

private java.lang.String description
A description of what happened, given by the service implementation.


comment

private java.lang.String comment
An optional textual comment given by the initiator of the change.

Constructor Detail

Request.ChronicleEntry

public Request.ChronicleEntry(java.lang.String description,
                              java.lang.String comment)
                       throws GeneralDatabaseException
Create a new instance with the given values.


Request.ChronicleEntry

public Request.ChronicleEntry(java.lang.String description)
                       throws GeneralDatabaseException
Method Detail

getTimestamp

public java.util.Date getTimestamp()
Return the timestamp of this entry.


getClientId

public long getClientId()
Return the id of the client of this entry.


getClient

public DBAdmin getClient()
                  throws GeneralDatabaseException
Return the client of this entry.

GeneralDatabaseException

getDescription

public java.lang.String getDescription()
Return the description of this entry.


getComment

public java.lang.String getComment()
Return the client's comment about this entry.


getSOAPChronicleEntry

public SOAPChronicleEntry getSOAPChronicleEntry()
                                         throws GeneralDatabaseException
GeneralDatabaseException