net.java.dev.jaxb.array.LongArray Maven / Gradle / Ivy
package net.java.dev.jaxb.array;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for longArray complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "longArray", propOrder = {
"item"
})
public class LongArray {
@XmlElement(nillable = true)
protected List item;
/**
* Gets the value of the item 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 item property.
*
*
* For example, to add a new item, do as follows:
*
*
* getItem().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Long }
*
*
*
* @return
* The value of the item property.
*/
public List getItem() {
if (item == null) {
item = new ArrayList<>();
}
return this.item;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy