Plugin.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 Plugin complex type</p>.
*
* <p>The following schema fragment specifies the expected content contained within this class.</p>
*
* <pre>{@code
* <complexType name="Plugin">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="frontend" type="{http://cxf.apache.org/tools/plugin}FrontEnd" maxOccurs="unbounded"/>
* <element name="databinding" type="{http://cxf.apache.org/tools/plugin}DataBinding" maxOccurs="unbounded"/>
* </sequence>
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="provider" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Plugin", propOrder = {
"frontend",
"databinding"
})
public class Plugin {
@XmlElement(required = true)
protected List<FrontEnd> frontend;
@XmlElement(required = true)
protected List<DataBinding> databinding;
@XmlAttribute(name = "name", required = true)
protected String name;
@XmlAttribute(name = "version", required = true)
protected String version;
@XmlAttribute(name = "provider", required = true)
protected String provider;
/**
* Gets the value of the frontend 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 frontend property.</p>
*
* <p>
* For example, to add a new item, do as follows:
* </p>
* <pre>
* getFrontend().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link FrontEnd }
* </p>
*
*
* @return
* The value of the frontend property.
*/
public List<FrontEnd> getFrontend() {
if (frontend == null) {
frontend = new ArrayList<>();
}
return this.frontend;
}
/**
* Gets the value of the databinding 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 databinding property.</p>
*
* <p>
* For example, to add a new item, do as follows:
* </p>
* <pre>
* getDatabinding().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link DataBinding }
* </p>
*
*
* @return
* The value of the databinding property.
*/
public List<DataBinding> getDatabinding() {
if (databinding == null) {
databinding = new ArrayList<>();
}
return this.databinding;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersion(String value) {
this.version = value;
}
/**
* Gets the value of the provider property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getProvider() {
return provider;
}
/**
* Sets the value of the provider property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setProvider(String value) {
this.provider = value;
}
}