Package com.xpn.xwiki.api
Class Property
- java.lang.Object
-
- com.xpn.xwiki.api.Api
-
- com.xpn.xwiki.api.Element
-
- com.xpn.xwiki.api.Property
-
-
Constructor Summary
Constructors Constructor Description Property(BaseProperty property, XWikiContext context)
The Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BaseProperty
getBaseProperty()
BaseProperty
getProperty()
PropertyClass
getPropertyClass()
Object
getValue()
-
Methods inherited from class com.xpn.xwiki.api.Element
getBaseElement, getDocumentReference, getName, getReference
-
Methods inherited from class com.xpn.xwiki.api.Api
convert, convert, convert, convertAttachments, getAuthorizationManager, getContextualAuthorizationManager, getXWikiContext, hasAccess, hasAccessLevel, hasAdminRights, hasProgrammingRights, hasWikiAdminRights
-
-
-
-
Constructor Detail
-
Property
public Property(BaseProperty property, XWikiContext context)
The Constructor.- Parameters:
property
- the internalBaseProperty
to wrap.context
- the XWikiContext which may be used to get information about the current request.
-
-
Method Detail
-
getBaseProperty
protected BaseProperty getBaseProperty()
- Returns:
- the internal
BaseProperty
which this Property wraps.
-
getProperty
public BaseProperty getProperty()
- Returns:
- the internal
BaseProperty
which this Property wraps.
-
getPropertyClass
public PropertyClass getPropertyClass()
- Returns:
- the definition of the property
- Since:
- 8.3M1
-
getValue
public Object getValue()
- Returns:
- the actual value of the property, as a String, Number or List.
-
-