org.apache.wink.webdav.model
Class Activelock

java.lang.Object
  extended by org.apache.wink.webdav.model.Activelock

public class Activelock
extends java.lang.Object

The activelock XML element per the WebDAV specification [RFC 4918]

    Name:       activelock
    Namespace:  DAV:
    Purpose:    Describes a lock on a resource.
    <!ELEMENT activelock (lockscope, locktype, depth, owner?, timeout?, locktoken?) <
 


Field Summary
protected  java.lang.String depth
           
protected  Lockscope lockscope
           
protected  Locktoken locktoken
           
protected  Locktype locktype
           
protected  Owner owner
           
protected  java.lang.String timeout
           
 
Constructor Summary
Activelock()
           
 
Method Summary
 java.lang.String getDepth()
          Gets the value of the depth property.
 Lockscope getLockscope()
          Gets the value of the lockscope property.
 Locktoken getLocktoken()
          Gets the value of the locktoken property.
 Locktype getLocktype()
          Gets the value of the locktype property.
 Owner getOwner()
          Gets the value of the owner property.
 java.lang.String getTimeout()
          Gets the value of the timeout property.
 void setDepth(java.lang.String value)
          Sets the value of the depth property.
 void setLockscope(Lockscope value)
          Sets the value of the lockscope property.
 void setLocktoken(Locktoken value)
          Sets the value of the locktoken property.
 void setLocktype(Locktype value)
          Sets the value of the locktype property.
 void setOwner(Owner value)
          Sets the value of the owner property.
 void setTimeout(java.lang.String value)
          Sets the value of the timeout property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lockscope

protected Lockscope lockscope

locktype

protected Locktype locktype

depth

protected java.lang.String depth

owner

protected Owner owner

timeout

protected java.lang.String timeout

locktoken

protected Locktoken locktoken
Constructor Detail

Activelock

public Activelock()
Method Detail

getLockscope

public Lockscope getLockscope()
Gets the value of the lockscope property.

Returns:
possible object is Lockscope

setLockscope

public void setLockscope(Lockscope value)
Sets the value of the lockscope property.

Parameters:
value - allowed object is Lockscope

getLocktype

public Locktype getLocktype()
Gets the value of the locktype property.

Returns:
possible object is Locktype

setLocktype

public void setLocktype(Locktype value)
Sets the value of the locktype property.

Parameters:
value - allowed object is Locktype

getDepth

public java.lang.String getDepth()
Gets the value of the depth property.

Returns:
possible object is String

setDepth

public void setDepth(java.lang.String value)
Sets the value of the depth property.

Parameters:
value - allowed object is String

getOwner

public Owner getOwner()
Gets the value of the owner property.

Returns:
possible object is Owner

setOwner

public void setOwner(Owner value)
Sets the value of the owner property.

Parameters:
value - allowed object is Owner

getTimeout

public java.lang.String getTimeout()
Gets the value of the timeout property.

Returns:
possible object is String

setTimeout

public void setTimeout(java.lang.String value)
Sets the value of the timeout property.

Parameters:
value - allowed object is String

getLocktoken

public Locktoken getLocktoken()
Gets the value of the locktoken property.

Returns:
possible object is Locktoken

setLocktoken

public void setLocktoken(Locktoken value)
Sets the value of the locktoken property.

Parameters:
value - allowed object is Locktoken


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.