com.github.nill14.utils.init.schema.Properties Maven / Gradle / Ivy
package com.github.nill14.utils.init.schema;
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;
/**
* Java class for Properties complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Properties">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="string" type="{http://www.github.com/nill14/utils/init/serviceRegistry}StringProperty" maxOccurs="unbounded" minOccurs="0"/>
* <element name="bean" type="{http://www.github.com/nill14/utils/init/serviceRegistry}BeanProperty" maxOccurs="unbounded" minOccurs="0"/>
* <element name="factory" type="{http://www.github.com/nill14/utils/init/serviceRegistry}FactoryProperty" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Properties", propOrder = {
"strings",
"been",
"factories"
})
public class Properties {
@XmlElement(name = "string")
protected List strings;
@XmlElement(name = "bean")
protected List been;
@XmlElement(name = "factory")
protected List factories;
/**
* Gets the value of the strings 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 strings property.
*
*
* For example, to add a new item, do as follows:
*
* getStrings().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link StringProperty }
*
*
*/
public List getStrings() {
if (strings == null) {
strings = new ArrayList();
}
return this.strings;
}
/**
* Gets the value of the been 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 been property.
*
*
* For example, to add a new item, do as follows:
*
* getBeen().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link BeanProperty }
*
*
*/
public List getBeen() {
if (been == null) {
been = new ArrayList();
}
return this.been;
}
/**
* Gets the value of the factories 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 factories property.
*
*
* For example, to add a new item, do as follows:
*
* getFactories().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FactoryProperty }
*
*
*/
public List getFactories() {
if (factories == null) {
factories = new ArrayList();
}
return this.factories;
}
}