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 BaseStringPropertyclone()protected voidcloneInternal(BaseProperty clone)Subclasses override this to copy values during cloning.booleanequals(Object obj)StringgetValue()inthashCode()voidsetValue(Object value)StringtoText()-
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:
getValuein classBaseProperty
-
setValue
public void setValue(Object value)
- Overrides:
setValuein classBaseProperty
-
toText
public String toText()
- Overrides:
toTextin classBaseProperty
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classBaseProperty
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBaseProperty
-
clone
public BaseStringProperty clone()
- Specified by:
clonein interfacePropertyInterface- Overrides:
clonein classBaseProperty
-
cloneInternal
protected void cloneInternal(BaseProperty clone)
Description copied from class:BasePropertySubclasses override this to copy values during cloning.- Overrides:
cloneInternalin classBaseProperty- Parameters:
clone- The cloned value.
-
-