org.apache.wink.webdav.model
Class Lockdiscovery

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

public class Lockdiscovery
extends java.lang.Object

The lockdiscovery Property per the WebDAV specification [RFC 4918]

    Name:       lockdiscovery
    Namespace:  DAV:
    Purpose:    Describes the active locks on a resource
    Description: The lockdiscovery property returns a listing of who has
    a lock, what type of lock he has, the timeout type and the time
    remaining on the timeout, and the associated lock token.  The server
    is free to withhold any or all of this information if the requesting
    principal does not have sufficient access rights to see the requested
    data.
 
    <!ELEMENT lockdiscovery (activelock)* >
 
 


Field Summary
protected  java.util.List<Activelock> activelock
           
 
Constructor Summary
Lockdiscovery()
           
 
Method Summary
 java.util.List<Activelock> getActivelock()
          Gets the value of the activelock property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

activelock

protected java.util.List<Activelock> activelock
Constructor Detail

Lockdiscovery

public Lockdiscovery()
Method Detail

getActivelock

public java.util.List<Activelock> getActivelock()
Gets the value of the activelock property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the activelock property.

For example, to add a new item, do as follows:

 getActivelock().add(newItem);
 

Objects of the following type(s) are allowed in the list Activelock



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