public class CmisFaultType extends Object
Java class for cmisFaultType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="cmisFaultType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="type" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}enumServiceException"/>
<element name="code" type="{http://www.w3.org/2001/XMLSchema}integer"/>
<element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/>
<any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
any |
protected BigInteger |
code |
protected String |
message |
protected EnumServiceException |
type |
| Constructor and Description |
|---|
CmisFaultType() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getAny()
Gets the value of the any property.
|
BigInteger |
getCode()
Gets the value of the code property.
|
String |
getMessage()
Gets the value of the message property.
|
EnumServiceException |
getType()
Gets the value of the type property.
|
void |
setCode(BigInteger value)
Sets the value of the code property.
|
void |
setMessage(String value)
Sets the value of the message property.
|
void |
setType(EnumServiceException value)
Sets the value of the type property.
|
protected EnumServiceException type
protected BigInteger code
protected String message
public EnumServiceException getType()
EnumServiceExceptionpublic void setType(EnumServiceException value)
value - allowed object is
EnumServiceExceptionpublic BigInteger getCode()
BigIntegerpublic void setCode(BigInteger value)
value - allowed object is
BigIntegerpublic String getMessage()
Stringpublic void setMessage(String value)
value - allowed object is
Stringpublic 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
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.