org.apache.wink.webdav.model
Class Getlastmodified

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

public class Getlastmodified
extends java.lang.Object

The getlastmodified Property per the WebDAV specification [RFC 4918]

    Name:       getlastmodified
    Namespace:  DAV:
    Purpose:    Contains the Last-Modified header returned by a GET
    method without accept headers.
    Description: Note that the last-modified date on a resource may
    reflect changes in any part of the state of the resource, not
    necessarily just a change to the response to the GET method.  For
    example, a change in a property may cause the last-modified date to
    change. The getlastmodified property MUST be defined on any DAV
    compliant resource that returns the Last-Modified header in response
    to a GET.
    Value:      HTTP-date  ; defined in section 3.3.1 of [RFC2068]
 
    <!ELEMENT getlastmodified (#PCDATA) >
 


Field Summary
protected  java.util.List<java.lang.String> content
           
 
Constructor Summary
Getlastmodified()
           
Getlastmodified(java.util.Date value)
           
Getlastmodified(java.lang.String value)
           
 
Method Summary
 java.lang.String getValue()
          Gets the value.
 java.util.Date getValueAsDate()
          Gets the value.
 void setValue(java.util.Date value)
          Sets the value.
 void setValue(java.lang.String value)
          Sets the value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

content

protected java.util.List<java.lang.String> content
Constructor Detail

Getlastmodified

public Getlastmodified()

Getlastmodified

public Getlastmodified(java.lang.String value)

Getlastmodified

public Getlastmodified(java.util.Date value)
Method Detail

setValue

public void setValue(java.lang.String value)
Sets the value.

Parameters:
value - the value to set

getValue

public java.lang.String getValue()
Gets the value.

Returns:
the value

setValue

public void setValue(java.util.Date value)
Sets the value.

Parameters:
value - the value to set

getValueAsDate

public java.util.Date getValueAsDate()
Gets the value.

Returns:
the value


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