Package nl.b3p.csw.jaxb.ows
Class ExceptionReport
- java.lang.Object
-
- nl.b3p.csw.jaxb.ows.ExceptionReport
-
public class ExceptionReport extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.opengis.net/ows}Exception" maxOccurs="unbounded"/> </sequence> <attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="language" type="{http://www.w3.org/2001/XMLSchema}language" /> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description ExceptionReport()Default no-arg constructorExceptionReport(List<Exception> exception, String version, String language)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Exception>getException()Unordered list of one or more Exception elements that each describes an error.StringgetLanguage()Gets the value of the language property.StringgetVersion()Gets the value of the version property.voidsetLanguage(String value)Sets the value of the language property.voidsetVersion(String value)Sets the value of the version property.
-
-
-
Method Detail
-
getException
public List<Exception> getException()
Unordered list of one or more Exception elements that each describes an error. These Exception elements shall be interpreted by clients as being independent of one another (not hierarchical). Gets the value of the exception property.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
setmethod for the exception property.For example, to add a new item, do as follows:
getException().add(newItem);Objects of the following type(s) are allowed in the list
Exception
-
getVersion
public String getVersion()
Gets the value of the version property.- Returns:
- possible object is
String
-
setVersion
public void setVersion(String value)
Sets the value of the version property.- Parameters:
value- allowed object isString
-
getLanguage
public String getLanguage()
Gets the value of the language property.- Returns:
- possible object is
String
-
-