public class Fault extends Object implements Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2
Java class for Fault complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Fault">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Error" type="{http://schema.intuit.com/finance/v3}Error" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Error> |
error |
protected String |
type |
| Constructor and Description |
|---|
Fault() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) |
List<Error> |
getError()
Gets the value of the error property.
|
String |
getType()
Gets the value of the type property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) |
void |
setError(List<Error> error)
Sets the value of the error property.
|
void |
setType(String value)
Sets the value of the type property.
|
public List<Error> getError()
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 error property.
For example, to add a new item, do as follows:
getError().add(newItem);
Objects of the following type(s) are allowed in the list
Error
public String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic void setError(List<Error> error)
error - allowed object is
Errorpublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equals2public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2Copyright © 2017. All rights reserved.