public class CustomConfiguration extends Object implements Serializable
Java class for CustomConfiguration complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CustomConfiguration"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <any processContents='lax' maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Element> |
configElements |
static CustomConfiguration |
EMPTY_INSTANCE |
Constructor and Description |
---|
CustomConfiguration() |
Modifier and Type | Method and Description |
---|---|
CustomConfiguration |
copy()
Deep copies the fields of the this model into a new instance of this class and returns it.
|
CustomConfiguration |
copy(boolean isDeep)
Copies the fields of the this model (optionally deeply) into a new instance of this class and returns it.
|
protected CustomConfiguration |
copy(CustomConfiguration nobj,
boolean isDeep)
Copies the fields of the this model (optionally deeply) into the given instance and returns it.
|
boolean |
equals(Object o) |
List<Element> |
getConfigElements()
Gets the value of the configElements property.
|
int |
hashCode() |
String |
toString() |
CustomConfiguration |
withConfigElements(Collection<? extends Element> newValues)
Adds the given newValues to the current configElements property List and returns this instance.
|
CustomConfiguration |
withConfigElements(Element... newValues)
Adds the given newValues to the current configElements property List and returns this instance.
|
public static final CustomConfiguration EMPTY_INSTANCE
public List<Element> getConfigElements()
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 configElements property.
For example, to add a new item, do as follows:
getConfigElements().add(newItem);
Objects of the following type(s) are allowed in the list
Element
public CustomConfiguration copy()
public CustomConfiguration copy(boolean isDeep)
protected CustomConfiguration copy(CustomConfiguration nobj, boolean isDeep)
public CustomConfiguration withConfigElements(Element... newValues)
public CustomConfiguration withConfigElements(Collection<? extends Element> newValues)