com.xpn.xwiki.objects.classes
Interface PropertyClassInterface

All Superinterfaces:
ElementInterface, ObjectInterface, PropertyInterface
All Known Implementing Classes:
BooleanClass, ComputedFieldClass, DateClass, DBListClass, DBTreeListClass, EmailClass, GroupsClass, LevelsClass, ListClass, NumberClass, PageClass, PasswordClass, PropertyClass, StaticListClass, StringClass, TextAreaClass, UsersClass

public interface PropertyClassInterface
extends ObjectInterface, PropertyInterface

The interface implemented by all XClass properties. An XClass property is at the same time a property (implements PropertyInterface) and an instance (object) of a meta class (implements ObjectInterface), where the meta class defines the meta properties of an XClass property (e.g. "relational storage", "display type", "separator", "multiple selection", etc.)

Version:
$Id: 2328c48c5b398c1a477d088107196e286b3ba63c $

Method Summary
 void displayEdit(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)
           
 void displayHidden(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)
           
 void displayView(StringBuffer buffer, String name, String prefix, BaseCollection object, XWikiContext context)
           
 void flushCache()
           
 BaseProperty fromString(String value)
           
 BaseProperty fromValue(Object value)
           
 BaseProperty newProperty()
           
 String toString(BaseProperty property)
           
 
Methods inherited from interface com.xpn.xwiki.objects.ObjectInterface
get, getXClass, put, safeget, safeput, toXML
 
Methods inherited from interface com.xpn.xwiki.objects.PropertyInterface
clone, getId, getObject, setId, setObject, toFormString, toXML
 
Methods inherited from interface com.xpn.xwiki.objects.ElementInterface
apply, getDocumentReference, getName, getReference, merge, setDocumentReference, setName, toString
 

Method Detail

toString

String toString(BaseProperty property)

fromString

BaseProperty fromString(String value)

fromValue

BaseProperty fromValue(Object value)

displayHidden

void displayHidden(StringBuffer buffer,
                   String name,
                   String prefix,
                   BaseCollection object,
                   XWikiContext context)

displayView

void displayView(StringBuffer buffer,
                 String name,
                 String prefix,
                 BaseCollection object,
                 XWikiContext context)

displayEdit

void displayEdit(StringBuffer buffer,
                 String name,
                 String prefix,
                 BaseCollection object,
                 XWikiContext context)

newProperty

BaseProperty newProperty()

flushCache

void flushCache()


Copyright © 2004-2013 XWiki. All Rights Reserved.