Generators.java
//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.5
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
//
package org.apache.cxf.tools.plugin;
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.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* <p>Java class for Generators complex type</p>.
*
* <p>The following schema fragment specifies the expected content contained within this class.</p>
*
* <pre>{@code
* <complexType name="Generators">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://cxf.apache.org/tools/plugin}generator" maxOccurs="unbounded"/>
* </sequence>
* <attribute name="package" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Generators", propOrder = {
"generator"
})
public class Generators {
@XmlElement(required = true)
protected List<Generator> generator;
@XmlAttribute(name = "package")
protected String _package;
/**
* Gets the value of the generator property.
*
* <p>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 <CODE>set</CODE> method for the generator property.</p>
*
* <p>
* For example, to add a new item, do as follows:
* </p>
* <pre>
* getGenerator().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Generator }
* </p>
*
*
* @return
* The value of the generator property.
*/
public List<Generator> getGenerator() {
if (generator == null) {
generator = new ArrayList<>();
}
return this.generator;
}
/**
* Gets the value of the package property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPackage() {
return _package;
}
/**
* Sets the value of the package property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPackage(String value) {
this._package = value;
}
}