public class Fault extends Object
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="Code" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="Subcode" type="{http://schemas.vam.gov.hu/VPFault/1.0}Subcode" minOccurs="0"/>
<element name="Detail" type="{http://schemas.vam.gov.hu/VPFault/1.0}Detail" minOccurs="0"/>
</sequence>
<anyAttribute processContents='lax' namespace='##other'/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
code |
protected Detail |
detail |
protected Subcode |
subcode |
| Constructor and Description |
|---|
Fault() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
Gets the value of the code property.
|
Detail |
getDetail()
Gets the value of the detail property.
|
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
Subcode |
getSubcode()
Gets the value of the subcode property.
|
void |
setCode(String value)
Sets the value of the code property.
|
void |
setDetail(Detail value)
Sets the value of the detail property.
|
void |
setSubcode(Subcode value)
Sets the value of the subcode property.
|
protected String code
protected Subcode subcode
protected Detail detail
public String getCode()
Stringpublic void setCode(String value)
value - allowed object is
Stringpublic Subcode getSubcode()
Subcodepublic void setSubcode(Subcode value)
value - allowed object is
Subcodepublic Detail getDetail()
Detailpublic void setDetail(Detail value)
value - allowed object is
Detailpublic Map<QName,String> getOtherAttributes()
the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
Copyright © 2025. All rights reserved.