io.aesy.musicbrainz.entity.EventList Maven / Gradle / Ivy
Show all versions of musicbrainz-api-entities Show documentation
//
// This file was generated by the Eclipse Implementation of JAXB, v2.3.6
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2023.04.01 at 01:10:33 AM CEST
//
package io.aesy.musicbrainz.entity;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://musicbrainz.org/ns/mmd-2.0#}event" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attGroup ref="{http://musicbrainz.org/ns/mmd-2.0#}def_list-attributes"/>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"event"
})
@XmlRootElement(name = "event-list")
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00")
public class EventList {
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00")
protected List event;
@XmlAttribute(name = "count")
@XmlSchemaType(name = "nonNegativeInteger")
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00")
protected BigInteger count;
@XmlAttribute(name = "offset")
@XmlSchemaType(name = "nonNegativeInteger")
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00")
protected BigInteger offset;
/**
* Gets the value of the event 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 event property.
*
*
* For example, to add a new item, do as follows:
*
* getEvent().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Event }
*
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00")
public List getEvent() {
if (event == null) {
event = new ArrayList();
}
return this.event;
}
/**
* Gets the value of the count property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00")
public BigInteger getCount() {
return count;
}
/**
* Sets the value of the count property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00")
public void setCount(BigInteger value) {
this.count = value;
}
/**
* Gets the value of the offset property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00")
public BigInteger getOffset() {
return offset;
}
/**
* Sets the value of the offset property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2023-04-01T01:10:33+02:00")
public void setOffset(BigInteger value) {
this.offset = value;
}
}