public class Faultreason extends Object
Java class for faultreason complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="faultreason"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Text" type="{http://www.w3.org/2003/05/soap-envelope}reasontext" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Reasontext> |
text |
Constructor and Description |
---|
Faultreason() |
Modifier and Type | Method and Description |
---|---|
List<Reasontext> |
getText()
Gets the value of the text property.
|
Faultreason |
withText(Collection<Reasontext> values) |
Faultreason |
withText(Reasontext... values) |
protected List<Reasontext> text
public List<Reasontext> getText()
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 text property.
For example, to add a new item, do as follows:
getText().add(newItem);
Objects of the following type(s) are allowed in the list
Reasontext
public Faultreason withText(Reasontext... values)
public Faultreason withText(Collection<Reasontext> values)
Apache Camel