com.xpn.xwiki.objects
Class NumberProperty

java.lang.Object
  extended by com.xpn.xwiki.objects.BaseElement<R>
      extended by com.xpn.xwiki.objects.BaseProperty
          extended by com.xpn.xwiki.objects.NumberProperty
All Implemented Interfaces:
ElementInterface, PropertyInterface, Serializable, Cloneable
Direct Known Subclasses:
DoubleProperty, FloatProperty, IntegerProperty, LongProperty

public abstract class NumberProperty
extends BaseProperty

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.xpn.xwiki.objects.BaseElement
localEntityReferenceSerializer, referenceCache
 
Constructor Summary
NumberProperty()
           
 
Method Summary
 NumberProperty clone()
           
protected  void cloneInternal(BaseProperty clone)
          Subclasses override this to copy values during cloning.
 boolean equals(Object obj)
           
 Object getValue()
           
 void setValue(Object value)
           
 String toText()
           
 
Methods inherited from class com.xpn.xwiki.objects.BaseProperty
apply, createReference, getClassType, getCustomMappingValue, getId, getObject, hashCode, isValueDirty, merge, mergeValue, setClassType, setId, setObject, setOwnerDocument, setValueDirty, setValueDirty, toFormString, toString, toXML, toXMLString
 
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

NumberProperty

public NumberProperty()
Method Detail

getValue

public Object getValue()
Overrides:
getValue in class BaseProperty

setValue

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

toText

public String toText()
Overrides:
toText in class BaseProperty

equals

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

clone

public NumberProperty 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.