public class BaseFaultType extends Object
Java class for BaseFaultType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="BaseFaultType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> <element name="Timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> <element name="Originator" type="{http://www.w3.org/2005/08/addressing}EndpointReferenceType" minOccurs="0"/> <element name="ErrorCode" minOccurs="0"> <complexType> <complexContent> <extension base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="dialect" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> <anyAttribute processContents='skip'/> </extension> </complexContent> </complexType> </element> <element name="Description" maxOccurs="unbounded" minOccurs="0"> <complexType> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>string"> <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> </extension> </simpleContent> </complexType> </element> <element name="FaultCause" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <any processContents='lax' namespace='##other'/> </sequence> </restriction> </complexContent> </complexType> </element> </sequence> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType>
Modifier and Type | Class and Description |
---|---|
static class |
BaseFaultType.Description
Java class for anonymous complex type.
|
static class |
BaseFaultType.ErrorCode
Java class for anonymous complex type.
|
static class |
BaseFaultType.FaultCause
Java class for anonymous complex type.
|
Modifier and Type | Field and Description |
---|---|
protected List<Object> |
any |
protected List<BaseFaultType.Description> |
description |
protected BaseFaultType.ErrorCode |
errorCode |
protected BaseFaultType.FaultCause |
faultCause |
protected W3CEndpointReference |
originator |
protected XMLGregorianCalendar |
timestamp |
Constructor and Description |
---|
BaseFaultType() |
Modifier and Type | Method and Description |
---|---|
List<Object> |
getAny()
Gets the value of the any property.
|
List<BaseFaultType.Description> |
getDescription()
Gets the value of the description property.
|
BaseFaultType.ErrorCode |
getErrorCode()
Gets the value of the errorCode property.
|
BaseFaultType.FaultCause |
getFaultCause()
Gets the value of the faultCause property.
|
W3CEndpointReference |
getOriginator()
Gets the value of the originator property.
|
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
XMLGregorianCalendar |
getTimestamp()
Gets the value of the timestamp property.
|
void |
setErrorCode(BaseFaultType.ErrorCode value)
Sets the value of the errorCode property.
|
void |
setFaultCause(BaseFaultType.FaultCause value)
Sets the value of the faultCause property.
|
void |
setOriginator(W3CEndpointReference value)
Sets the value of the originator property.
|
void |
setTimestamp(XMLGregorianCalendar value)
Sets the value of the timestamp property.
|
protected XMLGregorianCalendar timestamp
protected W3CEndpointReference originator
protected BaseFaultType.ErrorCode errorCode
protected List<BaseFaultType.Description> description
protected BaseFaultType.FaultCause faultCause
public List<Object> getAny()
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 any property.
For example, to add a new item, do as follows:
getAny().add(newItem);
Objects of the following type(s) are allowed in the list
Object
Element
public XMLGregorianCalendar getTimestamp()
XMLGregorianCalendar
public void setTimestamp(XMLGregorianCalendar value)
value
- allowed object is
XMLGregorianCalendar
public W3CEndpointReference getOriginator()
W3CEndpointReference
public void setOriginator(W3CEndpointReference value)
value
- allowed object is
W3CEndpointReference
public BaseFaultType.ErrorCode getErrorCode()
BaseFaultType.ErrorCode
public void setErrorCode(BaseFaultType.ErrorCode value)
value
- allowed object is
BaseFaultType.ErrorCode
public List<BaseFaultType.Description> getDescription()
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 description property.
For example, to add a new item, do as follows:
getDescription().add(newItem);
Objects of the following type(s) are allowed in the list
BaseFaultType.Description
public BaseFaultType.FaultCause getFaultCause()
BaseFaultType.FaultCause
public void setFaultCause(BaseFaultType.FaultCause value)
value
- allowed object is
BaseFaultType.FaultCause
public 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.
Apache CXF