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 java.lang.String PROPERTY_ALLOWED_VALUES_SUFFIX
           
static java.lang.String PROPERTY_TYPE_SUFFIX
           
 
Fields inherited from class org.codehaus.swizzle.confluence.MapObject
fields
 
Constructor Summary
XWikiObject()
           
XWikiObject(java.util.Map map)
           
 
Method Summary
 java.util.Set<java.lang.String> getProperties()
           
 java.lang.Object getProperty(java.lang.String propertyName)
           
 java.util.List getPropertyAllowedValues(java.lang.String propertyName)
           
 java.lang.String getPropertyType(java.lang.String propertyName)
           
 void setProperty(java.lang.String propertyName, java.lang.Object value)
           
 void setPropertyAllowedValues(java.lang.String propertyName, java.util.List values)
           
 void setPropertyType(java.lang.String propertyName, java.lang.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 java.lang.String PROPERTY_ALLOWED_VALUES_SUFFIX
See Also:
Constant Field Values

PROPERTY_TYPE_SUFFIX

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

XWikiObject

public XWikiObject()

XWikiObject

public XWikiObject(java.util.Map map)
Method Detail

getProperty

public java.lang.Object getProperty(java.lang.String propertyName)

setProperty

public void setProperty(java.lang.String propertyName,
                        java.lang.Object value)

getProperties

public java.util.Set<java.lang.String> getProperties()

setPropertyAllowedValues

public void setPropertyAllowedValues(java.lang.String propertyName,
                                     java.util.List values)

getPropertyAllowedValues

public java.util.List getPropertyAllowedValues(java.lang.String propertyName)

setPropertyType

public void setPropertyType(java.lang.String propertyName,
                            java.lang.String type)

getPropertyType

public java.lang.String getPropertyType(java.lang.String propertyName)


Copyright © 2004-2011 XWiki. All Rights Reserved.