Package org.xwiki.rest.model.jaxb
Class Hierarchy
- java.lang.Object
-
- org.xwiki.rest.model.jaxb.Hierarchy
-
public class Hierarchy extends Object
Java class for Hierarchy complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Hierarchy"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="item" type="{http://www.xwiki.org}HierarchyItem" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<HierarchyItem>
items
-
Constructor Summary
Constructors Constructor Description Hierarchy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<HierarchyItem>
getItems()
Gets the value of the items property.Hierarchy
withItems(Collection<HierarchyItem> values)
Hierarchy
withItems(HierarchyItem... values)
-
-
-
Field Detail
-
items
protected List<HierarchyItem> items
-
-
Method Detail
-
getItems
public List<HierarchyItem> getItems()
Gets the value of the items property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the items property.For example, to add a new item, do as follows:
getItems().add(newItem);
Objects of the following type(s) are allowed in the list
HierarchyItem
-
withItems
public Hierarchy withItems(HierarchyItem... values)
-
withItems
public Hierarchy withItems(Collection<HierarchyItem> values)
-
-