public class Attachments extends Object
Java class for attachmentCollection complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="attachmentCollection"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="attachment" type="{http://www.collibra.com/dgc/1.0}attachment" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="size" type="{http://www.w3.org/2001/XMLSchema}integer" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Attachment> |
attachments |
protected BigInteger |
size |
Constructor and Description |
---|
Attachments() |
Modifier and Type | Method and Description |
---|---|
List<Attachment> |
getAttachments()
Gets the value of the attachments property.
|
BigInteger |
getSize()
Gets the value of the size property.
|
void |
setSize(BigInteger value)
Sets the value of the size property.
|
Attachments |
withAttachments(Attachment... values) |
Attachments |
withAttachments(Collection<Attachment> values) |
Attachments |
withSize(BigInteger value) |
protected List<Attachment> attachments
protected BigInteger size
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
List
of Attachment
public BigInteger getSize()
BigInteger
public void setSize(BigInteger value)
value
- allowed object is BigInteger
public Attachments withAttachments(Attachment... values)
public Attachments withAttachments(Collection<Attachment> values)
public Attachments withSize(BigInteger value)
Copyright © 2010–2019. All rights reserved.