org.xwiki.xmlrpc.model
Class XWikiObject

java.lang.Object
  extended by org.codehaus.swizzle.confluence.MapObject
      extended by org.xwiki.xmlrpc.model.XWikiObjectSummary
          extended by org.xwiki.xmlrpc.model.XWikiObject

public class XWikiObject
extends XWikiObjectSummary

A class representing XWiki objects. An XWiki object contains the association between the properties defined in the object's XWikiClass and their corresponding values.

Version:
$Id$

Field Summary
static String PROPERTY_ALLOWED_VALUES_SUFFIX
           
static String PROPERTY_TYPE_SUFFIX
           
 
Fields inherited from class org.codehaus.swizzle.confluence.MapObject
fields
 
Constructor Summary
XWikiObject()
           
XWikiObject(Map map)
           
 
Method Summary
 Set<String> getProperties()
           
 Object getProperty(String propertyName)
           
 List getPropertyAllowedValues(String propertyName)
           
 String getPropertyType(String propertyName)
           
 void setProperty(String propertyName, Object value)
           
 void setPropertyAllowedValues(String propertyName, List values)
           
 void setPropertyType(String propertyName, String type)
           
 
Methods inherited from class org.xwiki.xmlrpc.model.XWikiObjectSummary
getClassName, getGuid, getId, getPageId, getPageMinorVersion, getPageVersion, getPrettyName, setClassName, setGuid, setId, setPageId, setPageMinorVersion, setPageVersion, setPrettyName
 
Methods inherited from class org.codehaus.swizzle.confluence.MapObject
getBoolean, getDate, getInt, getList, getMap, getString, setBoolean, setBoolean, setDate, setDate, setInt, setInt, setList, setMap, setString, toMap, toRawMap, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PROPERTY_ALLOWED_VALUES_SUFFIX

public static final String PROPERTY_ALLOWED_VALUES_SUFFIX
See Also:
Constant Field Values

PROPERTY_TYPE_SUFFIX

public static final String PROPERTY_TYPE_SUFFIX
See Also:
Constant Field Values
Constructor Detail

XWikiObject

public XWikiObject()

XWikiObject

public XWikiObject(Map map)
Method Detail

getProperty

public Object getProperty(String propertyName)

setProperty

public void setProperty(String propertyName,
                        Object value)

getProperties

public Set<String> getProperties()

setPropertyAllowedValues

public void setPropertyAllowedValues(String propertyName,
                                     List values)

getPropertyAllowedValues

public List getPropertyAllowedValues(String propertyName)

setPropertyType

public void setPropertyType(String propertyName,
                            String type)

getPropertyType

public String getPropertyType(String propertyName)


Copyright © 2004-2012 XWiki. All Rights Reserved.