com.xpn.xwiki.objects
Class BaseProperty

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

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

See Also:
Serialized Form

Field Summary
private  int id
           
private  BaseCollection object
           
 
Fields inherited from class com.xpn.xwiki.objects.BaseElement
 
Constructor Summary
BaseProperty()
           
 
Method Summary
 java.lang.Object clone()
           
 boolean equals(java.lang.Object el)
           
 java.lang.String getClassType()
           
 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
getName, getPrettyName, 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
getName, setName
 

Field Detail

object

private BaseCollection object

id

private int id
Constructor Detail

BaseProperty

public BaseProperty()
Method Detail

getObject

public BaseCollection getObject()
Specified by:
getObject in interface PropertyInterface

setObject

public void setObject(BaseCollection object)
Specified by:
setObject in interface PropertyInterface

equals

public boolean equals(java.lang.Object el)
Overrides:
equals in class BaseElement

getId

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

setId

public void setId(int id)
Specified by:
setId in interface PropertyInterface

hashCode

public int 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

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

toFormString

public java.lang.String toFormString()
Specified by:
toFormString in interface PropertyInterface

toText

public java.lang.String toText()

toXMLString

public java.lang.String toXMLString()

toString

public java.lang.String toString()
Specified by:
toString in interface ElementInterface


Copyright 2003 Ludovic Dubost