org.outerj.daisy.repository.commonimpl
Class LockInfoImpl

java.lang.Object
  extended byorg.outerj.daisy.repository.commonimpl.LockInfoImpl
All Implemented Interfaces:
org.outerj.daisy.repository.LockInfo

public class LockInfoImpl
extends java.lang.Object
implements org.outerj.daisy.repository.LockInfo


Constructor Summary
LockInfoImpl()
           
LockInfoImpl(long userId, java.util.Date timeAcquired, long duration, org.outerj.daisy.repository.LockType lockType)
           
 
Method Summary
 long getDuration()
           
 java.util.Date getTimeAcquired()
           
 org.outerj.daisy.repository.LockType getType()
           
 long getUserId()
           
 org.outerx.daisy.x10.LockInfoDocument getXml()
           
 boolean hasLock()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LockInfoImpl

public LockInfoImpl()

LockInfoImpl

public LockInfoImpl(long userId,
                    java.util.Date timeAcquired,
                    long duration,
                    org.outerj.daisy.repository.LockType lockType)
Method Detail

getUserId

public long getUserId()
Specified by:
getUserId in interface org.outerj.daisy.repository.LockInfo

getTimeAcquired

public java.util.Date getTimeAcquired()
Specified by:
getTimeAcquired in interface org.outerj.daisy.repository.LockInfo

getDuration

public long getDuration()
Specified by:
getDuration in interface org.outerj.daisy.repository.LockInfo

getType

public org.outerj.daisy.repository.LockType getType()
Specified by:
getType in interface org.outerj.daisy.repository.LockInfo

hasLock

public boolean hasLock()
Specified by:
hasLock in interface org.outerj.daisy.repository.LockInfo

getXml

public org.outerx.daisy.x10.LockInfoDocument getXml()
Specified by:
getXml in interface org.outerj.daisy.repository.LockInfo


Copyright © -2005 . All Rights Reserved.