org.xwiki.xmlrpc.model
Class XWikiClass

java.lang.Object
  extended by org.codehaus.swizzle.confluence.MapObject
      extended by org.xwiki.xmlrpc.model.XWikiClassSummary
          extended by org.xwiki.xmlrpc.model.XWikiClass

public class XWikiClass
extends XWikiClassSummary

A class representing XWiki classes. An XWikiClass is basically a set of properties where each property can have different attributes. For example the standard XWiki.TagClass has one property 'tags', and this property has several attributes such as 'prettyName', 'tooltip', etc.

Version:
$Id: 33814227cb071e763e7d79c132b83a44ac1bf0b4 $

Field Summary
static String XWIKICLASS_ATTRIBUTE
           
 
Fields inherited from class org.codehaus.swizzle.confluence.MapObject
fields
 
Constructor Summary
XWikiClass()
           
XWikiClass(Map map)
           
 
Method Summary
 Set<String> getProperties()
           
 Object getPropertyAttribute(String propertyName, String attributeName)
           
 Set<String> getPropertyAttributes(String propertyName)
           
 String getPropertyClass(String propertyName)
           
 void setPropertyToAttributesMap(Map<String,Map<String,Object>> map)
           
 
Methods inherited from class org.xwiki.xmlrpc.model.XWikiClassSummary
getId, setId
 
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

XWIKICLASS_ATTRIBUTE

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

XWikiClass

public XWikiClass()

XWikiClass

public XWikiClass(Map map)
Method Detail

setPropertyToAttributesMap

public void setPropertyToAttributesMap(Map<String,Map<String,Object>> map)

getPropertyAttributes

public Set<String> getPropertyAttributes(String propertyName)

getPropertyAttribute

public Object getPropertyAttribute(String propertyName,
                                   String attributeName)

getPropertyClass

public String getPropertyClass(String propertyName)

getProperties

public Set<String> getProperties()


Copyright © 2004-2013 XWiki. All Rights Reserved.