public class ErrorType extends Object
Java-Klasse für errorType complex type.
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
<complexType name="errorType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="message" type="{urn:ietf:params:xml:ns:geopriv:held}errorMsgType" maxOccurs="unbounded" minOccurs="0"/>
<any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="code" use="required" type="{http://www.w3.org/2001/XMLSchema}token" />
<anyAttribute processContents='lax'/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
any |
protected String |
code |
protected List<ErrorMsgType> |
message |
| Constructor and Description |
|---|
ErrorType() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getAny()
Gets the value of the any property.
|
String |
getCode()
Ruft den Wert der code-Eigenschaft ab.
|
List<ErrorMsgType> |
getMessage()
Gets the value of the message property.
|
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
void |
setCode(String value)
Legt den Wert der code-Eigenschaft fest.
|
protected List<ErrorMsgType> message
protected String code
public List<ErrorMsgType> getMessage()
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 message property.
For example, to add a new item, do as follows:
getMessage().add(newItem);
Objects of the following type(s) are allowed in the list
ErrorMsgType
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
Element
Object
public String getCode()
Stringpublic void setCode(String value)
value - allowed object is
Stringpublic 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 © 2018. All rights reserved.