Package com.xpn.xwiki.objects
Class DateProperty
- java.lang.Object
-
- com.xpn.xwiki.objects.BaseElement<R>
-
- com.xpn.xwiki.objects.BaseProperty
-
- 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: a17e9bf44a5b897fd842e2e7897161077961689a $
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.xpn.xwiki.objects.BaseElement
documentReference, ownerDocument, referenceCache
-
-
Constructor Summary
Constructors Constructor Description DateProperty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
-
Methods inherited from class com.xpn.xwiki.objects.BaseProperty
apply, createReference, getClassType, getCustomMappingValue, getId, getObject, getPropertyClass, isValueDirty, merge, mergeValue, setClassType, setId, setObject, setOwnerDocument, setValueDirty, setValueDirty, toFormString, toXML, toXMLString
-
Methods inherited from class com.xpn.xwiki.objects.BaseElement
fromXML, fromXML, getDocumentReference, getLocalEntityReferenceSerializer, getLocalization, getLocalKey, getLocalUidStringEntityReferenceSerializer, getMergeManager, getName, getOwnerDocument, getPrettyName, getReference, getXWikiContext, localizePlain, localizePlainOrKey, setDocumentReference, setName, setPrettyName, toString, toXMLString
-
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, toString
-
-
-
-
Method Detail
-
getValue
public Object getValue()
- Overrides:
getValue
in classBaseProperty
-
setValue
public void setValue(Object value)
- Overrides:
setValue
in classBaseProperty
-
toText
public String toText()
- Overrides:
toText
in classBaseProperty
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classBaseProperty
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classBaseProperty
-
clone
public DateProperty clone()
- Specified by:
clone
in interfacePropertyInterface
- Overrides:
clone
in classBaseProperty
-
cloneInternal
protected void cloneInternal(BaseProperty clone)
Description copied from class:BaseProperty
Subclasses override this to copy values during cloning.- Overrides:
cloneInternal
in classBaseProperty
- Parameters:
clone
- The cloned value.
-
-