|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wvcm.LockTokenImpl
public class LockTokenImpl
NOT YET STANDARD Describes a lock token.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface javax.wvcm.LockToken |
---|
LockToken.Depth, LockToken.Scope, LockToken.Timeout, LockToken.Type |
Constructor Summary | |
---|---|
LockTokenImpl(java.lang.String lockId,
LockToken.Scope lockScope,
LockToken.Depth depth,
Principal owner,
java.lang.String ownerInfo,
LockToken.Timeout timeout)
Constructor |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
LockToken.Depth |
getDepth()
Get the lock depth |
java.lang.String |
getLockId()
Get the lock ID (an URI in the opaquelocktoken scheme) |
LockToken.Scope |
getLockScope()
Get the lock scope |
LockToken.Type |
getLockType()
Get the lock type |
Principal |
getOwner()
Get the lock owner |
java.lang.String |
getOwnerInfo()
Get the lock owner |
LockToken.Timeout |
getTimeout()
Get the lock timeout |
int |
hashCode()
|
boolean |
isActive()
Method isActive |
void |
setActive(boolean active)
Method setActive |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LockTokenImpl(java.lang.String lockId, LockToken.Scope lockScope, LockToken.Depth depth, Principal owner, java.lang.String ownerInfo, LockToken.Timeout timeout)
lockId
- a StringlockScope
- a Scopedepth
- a Depthowner
- a Stringtimeout
- a TimeoutMethod Detail |
---|
public java.lang.String getLockId()
getLockId
in interface LockToken
public LockToken.Scope getLockScope()
getLockScope
in interface LockToken
public LockToken.Timeout getTimeout()
getTimeout
in interface LockToken
public LockToken.Type getLockType()
getLockType
in interface LockToken
public Principal getOwner()
getOwner
in interface LockToken
public java.lang.String getOwnerInfo()
getOwnerInfo
in interface LockToken
public LockToken.Depth getDepth()
getDepth
in interface LockToken
public boolean isActive()
isActive
in interface LockToken
public void setActive(boolean active)
active
- a booleanpublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |