Class Property


  • public class Property
    extends Element
    Property is a single attribute of an XWiki Object.
    Version:
    $Id: d257d9ba675a2ef56c46b43be6b598df15427ae6 $
    • Constructor Detail

      • Property

        public Property​(BaseProperty property,
                        XWikiContext context)
        The Constructor.
        Parameters:
        property - the internal BaseProperty 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.
      • 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.