Class Types
java.lang.Object
org.xwiki.rest.model.jaxb.LinkCollection
org.xwiki.livedata.rest.model.jaxb.Types
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>
-
Field Summary
FieldsFields inherited from class org.xwiki.rest.model.jaxb.LinkCollection
links -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTypes()Gets the value of the types property.withTypes(Collection<PropertyDescriptor> values) withTypes(PropertyDescriptor... values) Methods inherited from class org.xwiki.rest.model.jaxb.LinkCollection
getLinks, withLinks, withLinks
-
Field Details
-
types
-
-
Constructor Details
-
Types
public Types()
-
-
Method Details
-
getTypes
Gets the value of the types 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
setmethod 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 -
withTypes
-
withTypes
-