org.apache.wink.webdav.model
Class Lockscope

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

public class Lockscope
extends java.lang.Object

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

    Name:       lockscope
    Namespace:  DAV:
    Purpose:    Specifies whether a lock is an exclusive lock, or a
    shared lock.
 
    <!ELEMENT lockscope (exclusive | shared) >
 


Field Summary
protected  Exclusive exclusive
           
protected  Shared shared
           
 
Constructor Summary
Lockscope()
           
 
Method Summary
 Exclusive getExclusive()
          Gets the value of the exclusive property.
 Shared getShared()
          Gets the value of the shared property.
 void setExclusive(Exclusive value)
          Sets the value of the exclusive property.
 void setShared(Shared value)
          Sets the value of the shared property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

exclusive

protected Exclusive exclusive

shared

protected Shared shared
Constructor Detail

Lockscope

public Lockscope()
Method Detail

getExclusive

public Exclusive getExclusive()
Gets the value of the exclusive property.

Returns:
possible object is Exclusive

setExclusive

public void setExclusive(Exclusive value)
Sets the value of the exclusive property.

Parameters:
value - allowed object is Exclusive

getShared

public Shared getShared()
Gets the value of the shared property.

Returns:
possible object is Shared

setShared

public void setShared(Shared value)
Sets the value of the shared property.

Parameters:
value - allowed object is Shared


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