com.xpn.xwiki.api
Class Collection
java.lang.Object
com.xpn.xwiki.api.Api
com.xpn.xwiki.api.Element
com.xpn.xwiki.api.Collection
- Direct Known Subclasses:
- Class, Object, PropertyClass
public abstract class Collection
- extends Element
Fields inherited from class com.xpn.xwiki.api.Api |
context |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Collection
public Collection(BaseCollection collection,
XWikiContext context)
getCollection
protected BaseCollection getCollection()
getxWikiClass
public Class getxWikiClass()
getName
public String getName()
- Description copied from class:
Element
- Get the name of this element.
If the Element is an XWiki
Object
then it will be the name of the Document
containing the Object, if it's an XWiki Class
it will be the full name of the
Document
where the class is defined, if it's an XWiki
Property
then it will be the name of the property.
- Overrides:
getName
in class Element
- Returns:
- the name of this Element.
getPrettyName
public String getPrettyName()
getNumber
public int getNumber()
getPropertyNames
public Object[] getPropertyNames()
getProperties
public Element[] getProperties()
getProperty
public Property getProperty(String name)
Copyright © 2004-2013 XWiki. All Rights Reserved.