com.github.pms1.tppt.p2.jaxb.metadata.Licenses Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2018.06.16 at 06:11:18 AM UTC
//
package com.github.pms1.tppt.p2.jaxb.metadata;
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.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for licenses complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="licenses">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="license" type="{}license" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="size" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "licenses", propOrder = {
"license"
})
public class Licenses {
protected List license;
@XmlAttribute(name = "size", required = true)
protected int size;
/**
* Gets the value of the license 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 license property.
*
*
* For example, to add a new item, do as follows:
*
* getLicense().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link License }
*
*
*/
public List getLicense() {
if (license == null) {
license = new ArrayList();
}
return this.license;
}
/**
* Gets the value of the size property.
*
*/
public int getSize() {
return size;
}
/**
* Sets the value of the size property.
*
*/
public void setSize(int value) {
this.size = value;
}
}