public class Types extends LinkCollection
Java class for PropertyTypes complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PropertyTypes"> <complexContent> <extension base="{http://www.xwiki.org}LinkCollection"> <sequence> <element name="type" type="{http://www.xwiki.org/liveData}PropertyDescriptor" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<PropertyDescriptor> |
types |
links
Constructor and Description |
---|
Types() |
Modifier and Type | Method and Description |
---|---|
List<PropertyDescriptor> |
getTypes()
Gets the value of the types property.
|
Types |
withTypes(Collection<PropertyDescriptor> values) |
Types |
withTypes(PropertyDescriptor... values) |
getLinks, withLinks, withLinks
protected List<PropertyDescriptor> types
public List<PropertyDescriptor> getTypes()
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 types property.
For example, to add a new item, do as follows:
getTypes().add(newItem);
Objects of the following type(s) are allowed in the list
PropertyDescriptor
public Types withTypes(PropertyDescriptor... values)
public Types withTypes(Collection<PropertyDescriptor> values)
Copyright © 2004–2022 XWiki. All rights reserved.