|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.chemistry.opencmis.commons.impl.jaxb.CmisFaultType
public class CmisFaultType
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>
Field Summary | |
---|---|
protected List<Object> |
any
|
protected BigInteger |
code
|
protected String |
message
|
protected EnumServiceException |
type
|
Constructor Summary | |
---|---|
CmisFaultType()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected EnumServiceException type
protected BigInteger code
protected String message
protected List<Object> any
Constructor Detail |
---|
public CmisFaultType()
Method Detail |
---|
public EnumServiceException getType()
EnumServiceException
public void setType(EnumServiceException value)
value
- allowed object is
EnumServiceException
public BigInteger getCode()
BigInteger
public void setCode(BigInteger value)
value
- allowed object is
BigInteger
public String getMessage()
String
public void setMessage(String value)
value
- allowed object is
String
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |