com.xpn.xwiki.objects.classes
Class BooleanClass

java.lang.Object
  extended bycom.xpn.xwiki.objects.BaseElement
      extended bycom.xpn.xwiki.objects.BaseCollection
          extended bycom.xpn.xwiki.objects.classes.PropertyClass
              extended bycom.xpn.xwiki.objects.classes.BooleanClass
All Implemented Interfaces:
ElementInterface, ObjectInterface, PropertyClassInterface, PropertyInterface, java.io.Serializable

public class BooleanClass
extends PropertyClass

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.xpn.xwiki.objects.classes.PropertyClass
 
Fields inherited from class com.xpn.xwiki.objects.BaseCollection
 
Fields inherited from class com.xpn.xwiki.objects.BaseElement
 
Constructor Summary
BooleanClass()
           
BooleanClass(PropertyMetaClass wclass)
           
 
Method Summary
 void displayEdit(java.lang.StringBuffer buffer, java.lang.String name, java.lang.String prefix, BaseCollection object, XWikiContext context)
           
 void displayView(java.lang.StringBuffer buffer, java.lang.String name, java.lang.String prefix, BaseCollection object, XWikiContext context)
           
 BaseProperty fromString(java.lang.String value)
           
 java.lang.String getDisplayType()
           
private  java.lang.String getDisplayValue(XWikiContext context, int value)
           
 void setDisplayType(java.lang.String type)
           
 
Methods inherited from class com.xpn.xwiki.objects.classes.PropertyClass
checkField, clone, displayEdit, displayEdit, displayHidden, displayHidden, displayHidden, displaySearch, displaySearch, displaySearch, displayView, displayView, fromStringArray, fromXML, getClassName, getClassType, getId, getName, getNumber, getObject, getPrettyName, getxWikiClass, getxWikiClass, initLazyCollections, isUnmodifiable, newPropertyfromXML, setClassType, setId, setName, setNumber, setObject, setPrettyName, setUnmodifiable, setxWikiClass, toFormString, toString, toXML, toXML
 
Methods inherited from class com.xpn.xwiki.objects.BaseCollection
addField, addPropertyForRemoval, equals, get, getDateValue, getDiff, getField, getFieldList, getFieldsToRemove, getIntValue, getLargeStringValue, getLongValue, getProperties, getPropertyList, getPropertyNames, getSetValue, getStringValue, hashCode, merge, put, removeField, safeget, safeput, setClassName, setDateValue, setFields, setFieldsToRemove, setIntValue, setLargeStringValue, setLongValue, setSetValue, setStringValue, toString, toXMLString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.xpn.xwiki.objects.ObjectInterface
get, put, safeget, safeput
 
Methods inherited from interface com.xpn.xwiki.objects.ElementInterface
toString
 

Constructor Detail

BooleanClass

public BooleanClass(PropertyMetaClass wclass)

BooleanClass

public BooleanClass()
Method Detail

getDisplayType

public java.lang.String getDisplayType()

setDisplayType

public void setDisplayType(java.lang.String type)

fromString

public BaseProperty fromString(java.lang.String value)
Specified by:
fromString in interface PropertyClassInterface
Overrides:
fromString in class PropertyClass

displayView

public void displayView(java.lang.StringBuffer buffer,
                        java.lang.String name,
                        java.lang.String prefix,
                        BaseCollection object,
                        XWikiContext context)
Specified by:
displayView in interface PropertyClassInterface
Overrides:
displayView in class PropertyClass

displayEdit

public void displayEdit(java.lang.StringBuffer buffer,
                        java.lang.String name,
                        java.lang.String prefix,
                        BaseCollection object,
                        XWikiContext context)
Specified by:
displayEdit in interface PropertyClassInterface
Overrides:
displayEdit in class PropertyClass

getDisplayValue

private java.lang.String getDisplayValue(XWikiContext context,
                                         int value)


Copyright 2003 Ludovic Dubost