com.xpn.xwiki.objects
Class DateProperty

java.lang.Object
  extended by com.xpn.xwiki.objects.BaseElement<R>
      extended by com.xpn.xwiki.objects.BaseProperty
          extended by com.xpn.xwiki.objects.DateProperty
All Implemented Interfaces:
ElementInterface, PropertyInterface, Serializable, Cloneable

public class DateProperty
extends BaseProperty
implements Cloneable

Represents a date property.

Version:
$Id: 72d35b04468fc52de1c90a3c4519c404aa1c2d00 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.xpn.xwiki.objects.BaseElement
localEntityReferenceSerializer, referenceCache
 
Constructor Summary
DateProperty()
           
 
Method Summary
 DateProperty clone()
           
protected  void cloneInternal(BaseProperty clone)
          Subclasses override this to copy values during cloning.
 boolean equals(Object obj)
           
 Object getValue()
           
 int hashCode()
           
 void setValue(Object value)
           
 String toText()
           
 org.dom4j.Element toXML()
           
 String toXMLString()
           
 
Methods inherited from class com.xpn.xwiki.objects.BaseProperty
apply, createReference, getClassType, getCustomMappingValue, getId, getObject, isValueDirty, merge, mergeValue, setClassType, setId, setObject, setOwnerDocument, setValueDirty, setValueDirty, toFormString, toString
 
Methods inherited from class com.xpn.xwiki.objects.BaseElement
getDocumentReference, getLocalKey, getLocalUidStringEntityReferenceSerializer, getName, getPrettyName, getReference, setDocumentReference, setName, setPrettyName
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.xpn.xwiki.objects.ElementInterface
getDocumentReference, getName, getReference, setDocumentReference, setName
 

Constructor Detail

DateProperty

public DateProperty()
Method Detail

getValue

public Object getValue()
Overrides:
getValue in class BaseProperty

setValue

public void setValue(Object value)
Overrides:
setValue in class BaseProperty

toXML

public org.dom4j.Element toXML()
Specified by:
toXML in interface PropertyInterface
Overrides:
toXML in class BaseProperty

toXMLString

public String toXMLString()
Overrides:
toXMLString in class BaseProperty

toText

public String toText()
Overrides:
toText in class BaseProperty

hashCode

public int hashCode()
Overrides:
hashCode in class BaseProperty

equals

public boolean equals(Object obj)
Overrides:
equals in class BaseProperty

clone

public DateProperty clone()
Specified by:
clone in interface PropertyInterface
Overrides:
clone in class BaseProperty

cloneInternal

protected void cloneInternal(BaseProperty clone)
Description copied from class: BaseProperty
Subclasses override this to copy values during cloning.

Overrides:
cloneInternal in class BaseProperty
Parameters:
clone - The cloned value.


Copyright © 2004-2013 XWiki. All Rights Reserved.