com.xpn.xwiki.objects
Interface ObjectInterface

All Superinterfaces:
ElementInterface
All Known Subinterfaces:
ClassInterface, PropertyClassInterface
All Known Implementing Classes:
BaseClass, BaseCollection, BaseObject, BooleanClass, BooleanMetaClass, ComputedFieldClass, ComputedFieldMetaClass, DateClass, DateMetaClass, DBListClass, DBListMetaClass, DBTreeListClass, DBTreeListMetaClass, DocumentStats, EmailClass, EmailMetaClass, GroupsClass, GroupsMetaClass, LevelsClass, LevelsMetaClass, ListClass, ListMetaClass, MetaClass, NumberClass, NumberMetaClass, PageClass, PageMetaClass, PasswordClass, PasswordMetaClass, PropertyClass, PropertyMetaClass, RefererStats, StaticListClass, StaticListMetaClass, StringClass, StringMetaClass, TextAreaClass, TextAreaMetaClass, UsersClass, UsersMetaClass, VisitStats, XWikiStats

public interface ObjectInterface
extends ElementInterface


Method Summary
 PropertyInterface get(String name)
           
 BaseClass getXClass(XWikiContext context)
           
 void put(String name, PropertyInterface property)
           
 PropertyInterface safeget(String name)
           
 void safeput(String name, PropertyInterface property)
           
 org.dom4j.Element toXML(BaseClass bclass)
           
 
Methods inherited from interface com.xpn.xwiki.objects.ElementInterface
apply, getDocumentReference, getName, getReference, merge, setDocumentReference, setName, toString
 

Method Detail

getXClass

BaseClass getXClass(XWikiContext context)
                    throws XWikiException
Throws:
XWikiException
Since:
4.0M1

get

PropertyInterface get(String name)
                      throws XWikiException
Throws:
XWikiException

put

void put(String name,
         PropertyInterface property)
         throws XWikiException
Throws:
XWikiException

safeget

PropertyInterface safeget(String name)

safeput

void safeput(String name,
             PropertyInterface property)

toXML

org.dom4j.Element toXML(BaseClass bclass)


Copyright © 2004–2014 XWiki. All rights reserved.