public class Attachments extends LinkCollection
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<extension base="{http://www.xwiki.org}LinkCollection">
<sequence>
<element name="attachment" type="{http://www.xwiki.org}Attachment" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Attachment> |
attachments |
links| Constructor and Description |
|---|
Attachments() |
| Modifier and Type | Method and Description |
|---|---|
List<Attachment> |
getAttachments()
Gets the value of the attachments property.
|
getLinksprotected List<Attachment> attachments
public List<Attachment> getAttachments()
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 attachments property.
For example, to add a new item, do as follows:
getAttachments().add(newItem);
Objects of the following type(s) are allowed in the list
Attachment
Copyright © 2003–2018 eXo Platform SAS. All rights reserved.