Package com.xpn.xwiki.objects
Class BaseStringProperty
- java.lang.Object
-
- com.xpn.xwiki.objects.BaseElement<R>
-
- com.xpn.xwiki.objects.BaseProperty
-
- com.xpn.xwiki.objects.BaseStringProperty
-
- All Implemented Interfaces:
ElementInterface
,PropertyInterface
,Serializable
,Cloneable
- Direct Known Subclasses:
LargeStringProperty
,StringProperty
public class BaseStringProperty extends BaseProperty
Base string XProperty which all types of string XProperties extend. $Id: 5bf185cab6d4d2e58260848d1b1068f3c56343dc $- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.xpn.xwiki.objects.BaseElement
documentReference, ownerDocument, referenceCache
-
-
Constructor Summary
Constructors Constructor Description BaseStringProperty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseStringProperty
clone()
protected void
cloneInternal(BaseProperty clone)
Subclasses override this to copy values during cloning.boolean
equals(Object obj)
String
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, merge, mergeValue, 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 String getValue()
- Overrides:
getValue
in classBaseProperty
-
setValue
public void setValue(Object value)
- Overrides:
setValue
in classBaseProperty
-
toText
public String toText()
- Overrides:
toText
in classBaseProperty
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classBaseProperty
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classBaseProperty
-
clone
public BaseStringProperty 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.
-
-