org.apache.wink.webdav.model
Class Creationdate

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

public class Creationdate
extends java.lang.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  java.util.List<java.lang.String> content
           
 
Constructor Summary
Creationdate()
           
Creationdate(java.util.Date value)
           
Creationdate(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

Creationdate

public Creationdate()

Creationdate

public Creationdate(java.lang.String value)

Creationdate

public Creationdate(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.