org.apache.wink.webdav.model
Class Creationdate

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

public class Creationdate
extends Object

The creationdate Property per the WebDAV specification [RFC 4918]

    Name:       creationdate
    Namespace:  DAV:
    Purpose:    Records the time and date the resource was created.
    Value:      date-time ; See Appendix 2
    Description: The creationdate property should be defined on all DAV
    compliant resources.  If present, it contains a timestamp of the
    moment when the resource was created (i.e., the moment it had non-
    null state).
 
    <!ELEMENT creationdate (#PCDATA) >
 


Field Summary
protected  List<String> content
           
 
Constructor Summary
Creationdate()
           
Creationdate(Date value)
           
Creationdate(String value)
           
 
Method Summary
 String getValue()
          Gets the value.
 Date getValueAsDate()
          Gets the value.
 void setValue(Date value)
          Sets the value.
 void setValue(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 List<String> content
Constructor Detail

Creationdate

public Creationdate()

Creationdate

public Creationdate(String value)

Creationdate

public Creationdate(Date value)
Method Detail

setValue

public void setValue(String value)
Sets the value.

Parameters:
value - the value to set

getValue

public String getValue()
Gets the value.

Returns:
the value

setValue

public void setValue(Date value)
Sets the value.

Parameters:
value - the value to set

getValueAsDate

public Date getValueAsDate()
Gets the value.

Returns:
the value


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