com.glookast.api.templates.ResponseListMetadataSystem Maven / Gradle / Ivy
Show all versions of api-templates Show documentation
package com.glookast.api.templates;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import com.glookast.commons.templates.MetadataSystem;
/**
* Java class for ResponseListMetadataSystem complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ResponseListMetadataSystem">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="return" type="{http://templates.commons.glookast.com}MetadataSystem" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ResponseListMetadataSystem", propOrder = {
"_return"
})
public class ResponseListMetadataSystem implements Serializable
{
@XmlElement(name = "return")
protected List _return;
/**
* Default no-arg constructor
*
*/
public ResponseListMetadataSystem() {
super();
}
/**
* Fully-initialising value constructor
*
*/
public ResponseListMetadataSystem(final List _return) {
this._return = _return;
}
/**
* Gets the value of the return 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 return property.
*
*
* For example, to add a new item, do as follows:
*
* getReturn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link MetadataSystem }
*
*
*/
public List getReturn() {
if (_return == null) {
_return = new ArrayList();
}
return this._return;
}
}