org.apache.lenya.cms.rc
Class RCMLEntry

java.lang.Object
  extended by org.apache.lenya.cms.rc.RCMLEntry
Direct Known Subclasses:
CheckInEntry, CheckOutEntry

public class RCMLEntry
extends java.lang.Object

A RCML entry


Constructor Summary
RCMLEntry(java.lang.String sessionId, java.lang.String _identity, long _time)
          Creates a new RCMLEntry object.
 
Method Summary
 java.lang.String getIdentity()
          Get the identity of the creator (i.e. the user name) FIXME: this should be changed to an o.a.l.ac.Identity object
 java.lang.String getSessionId()
           
 long getTime()
          Get the creation time.
 short getType()
          Get the type (checkin or checkout).
protected  void setType(short s)
          Set the type (checkin or checkout).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RCMLEntry

public RCMLEntry(java.lang.String sessionId,
                 java.lang.String _identity,
                 long _time)
Creates a new RCMLEntry object.

Parameters:
sessionId - The session ID.
_identity - The identity of the person for this RCML
_time - The time of the checkin / checkout
Method Detail

getIdentity

public java.lang.String getIdentity()
Get the identity of the creator (i.e. the user name) FIXME: this should be changed to an o.a.l.ac.Identity object

Returns:
the identity

getTime

public long getTime()
Get the creation time.

Returns:
the time

getType

public short getType()
Get the type (checkin or checkout).

Returns:
the type
See Also:
org.apache.lenya.cms.rc.RCML.ci, org.apache.lenya.cms.rc.RCML.co

setType

protected void setType(short s)
Set the type (checkin or checkout).

Parameters:
s - the type
See Also:
org.apache.lenya.cms.rc.RCML.ci, org.apache.lenya.cms.rc.RCML.co

getSessionId

public java.lang.String getSessionId()


Copyright © 1999-2006 Apache Software Foundation. All Rights Reserved.