org.apache.wink.webdav.model
Class Propstat

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

public class Propstat
extends Object

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

    Name:       propstat
    Namespace:  DAV:
    Purpose:    Groups together a prop and status element that is
    associated with a particular href element.
    Description: The propstat XML element MUST contain one prop XML
    element and one status XML element.  The contents of the prop XML
    element MUST only list the names of properties to which the result in
    the status element applies.
 
    <!ELEMENT propstat (prop, status, responsedescription?) >
 


Field Summary
protected  Error error
           
protected  Prop prop
           
protected  String responsedescription
           
protected  String status
           
 
Constructor Summary
Propstat()
           
 
Method Summary
 Error getError()
          Gets the value of the error property.
 Prop getProp()
          Gets the value of the prop property.
 String getResponsedescription()
          Gets the value of the responsedescription property.
 String getStatus()
          Gets the value of the status property.
 int getStatusCode()
           
 void setError(Error value)
          Sets the value of the error property.
 void setProp(Prop value)
          Sets the value of the prop property.
 void setResponsedescription(String value)
          Sets the value of the responsedescription property.
 void setStatus(String value)
          Sets the value of the status property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prop

protected Prop prop

status

protected String status

error

protected Error error

responsedescription

protected String responsedescription
Constructor Detail

Propstat

public Propstat()
Method Detail

getProp

public Prop getProp()
Gets the value of the prop property.

Returns:
possible object is Prop

setProp

public void setProp(Prop value)
Sets the value of the prop property.

Parameters:
value - allowed object is Prop

getStatus

public String getStatus()
Gets the value of the status property.

Returns:
possible object is String

getStatusCode

public int getStatusCode()

setStatus

public void setStatus(String value)
Sets the value of the status property.

Parameters:
value - allowed object is String

getError

public Error getError()
Gets the value of the error property.

Returns:
possible object is Error

setError

public void setError(Error value)
Sets the value of the error property.

Parameters:
value - allowed object is Error

getResponsedescription

public String getResponsedescription()
Gets the value of the responsedescription property.

Returns:
possible object is String

setResponsedescription

public void setResponsedescription(String value)
Sets the value of the responsedescription property.

Parameters:
value - allowed object is String


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