com.xpn.xwiki.objects
Class BaseProperty

java.lang.Object
  extended by com.xpn.xwiki.objects.BaseElement
      extended by com.xpn.xwiki.objects.BaseProperty
All Implemented Interfaces:
ElementInterface, PropertyInterface, java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
BaseStringProperty, DateProperty, ListProperty, NumberProperty

public class BaseProperty
extends BaseElement
implements PropertyInterface, java.io.Serializable, java.lang.Cloneable

See Also:
Serialized Form

Constructor Summary
BaseProperty()
           
 
Method Summary
 java.lang.Object clone()
          
 boolean equals(java.lang.Object el)
          
 java.lang.String getClassType()
           
 java.lang.Object getCustomMappingValue()
           
 int getId()
           
 BaseCollection getObject()
          
 java.lang.Object getValue()
           
 int hashCode()
          
 void setClassType(java.lang.String type)
           
 void setId(int id)
          
 void setObject(BaseCollection object)
          
 void setValue(java.lang.Object value)
           
 java.lang.String toFormString()
          
 java.lang.String toString()
          
 java.lang.String toText()
           
 org.dom4j.Element toXML()
          
 java.lang.String toXMLString()
           
 
Methods inherited from class com.xpn.xwiki.objects.BaseElement
getDocumentSyntaxId, getName, getPrettyName, getWiki, setName, setPrettyName, setWiki
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.xpn.xwiki.objects.ElementInterface
getName, setName
 

Constructor Detail

BaseProperty

public BaseProperty()
Method Detail

getObject

public BaseCollection getObject()

Specified by:
getObject in interface PropertyInterface
See Also:
PropertyInterface.getObject()

setObject

public void setObject(BaseCollection object)

Specified by:
setObject in interface PropertyInterface
See Also:
PropertyInterface.setObject(com.xpn.xwiki.objects.BaseCollection)

equals

public boolean equals(java.lang.Object el)

Overrides:
equals in class BaseElement
See Also:
BaseElement.equals(java.lang.Object)

getId

public int getId()
Specified by:
getId in interface PropertyInterface

setId

public void setId(int id)

Specified by:
setId in interface PropertyInterface
See Also:
PropertyInterface.setId(int)

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object
See Also:
Object.hashCode()

getClassType

public java.lang.String getClassType()

setClassType

public void setClassType(java.lang.String type)

clone

public java.lang.Object clone()

Overrides:
clone in class BaseElement
See Also:
BaseElement.clone()

getValue

public java.lang.Object getValue()

setValue

public void setValue(java.lang.Object value)

toXML

public org.dom4j.Element toXML()

Specified by:
toXML in interface PropertyInterface
See Also:
PropertyInterface.toXML()

toFormString

public java.lang.String toFormString()

Specified by:
toFormString in interface PropertyInterface
See Also:
PropertyInterface.toFormString()

toText

public java.lang.String toText()

toXMLString

public java.lang.String toXMLString()

toString

public java.lang.String toString()

Specified by:
toString in interface ElementInterface
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

getCustomMappingValue

public java.lang.Object getCustomMappingValue()


Copyright © 2004-2008 XWiki. All Rights Reserved.