org.tigris.subversion.javahl
Class Lock
java.lang.Object
org.tigris.subversion.javahl.Lock
public class Lock
- extends java.lang.Object
class to describe a lock. It is return by the lock operation
- Since:
- 1.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getOwner
public java.lang.String getOwner()
- Returns:
- the owner of the lock
getPath
public java.lang.String getPath()
- Returns:
- the path of the locked item
getToken
public java.lang.String getToken()
- Returns:
- the token provided during the lock operation
getComment
public java.lang.String getComment()
- Returns:
- the comment provided during the lock operation
getCreationDate
public java.util.Date getCreationDate()
- Returns:
- the date the lock was created
getExpirationDate
public java.util.Date getExpirationDate()
- Returns:
- the date when the lock will expire