org.apache.chemistry.opencmis.commons.impl.jaxb
Class CmisFaultType

java.lang.Object
  extended by org.apache.chemistry.opencmis.commons.impl.jaxb.CmisFaultType

public class CmisFaultType
extends java.lang.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>
 


Field Summary
protected  java.util.List<java.lang.Object> any
           
protected  java.math.BigInteger code
           
protected  java.lang.String message
           
protected  EnumServiceException type
           
 
Constructor Summary
CmisFaultType()
           
 
Method Summary
 java.util.List<java.lang.Object> getAny()
          Gets the value of the any property.
 java.math.BigInteger getCode()
          Gets the value of the code property.
 java.lang.String getMessage()
          Gets the value of the message property.
 EnumServiceException getType()
          Gets the value of the type property.
 void setCode(java.math.BigInteger value)
          Sets the value of the code property.
 void setMessage(java.lang.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

type

protected EnumServiceException type

code

protected java.math.BigInteger code

message

protected java.lang.String message

any

protected java.util.List<java.lang.Object> any
Constructor Detail

CmisFaultType

public CmisFaultType()
Method Detail

getType

public EnumServiceException getType()
Gets the value of the type property.

Returns:
possible object is EnumServiceException

setType

public void setType(EnumServiceException value)
Sets the value of the type property.

Parameters:
value - allowed object is EnumServiceException

getCode

public java.math.BigInteger getCode()
Gets the value of the code property.

Returns:
possible object is BigInteger

setCode

public void setCode(java.math.BigInteger value)
Sets the value of the code property.

Parameters:
value - allowed object is BigInteger

getMessage

public java.lang.String getMessage()
Gets the value of the message property.

Returns:
possible object is String

setMessage

public void setMessage(java.lang.String value)
Sets the value of the message property.

Parameters:
value - allowed object is String

getAny

public java.util.List<java.lang.Object> getAny()
Gets the value of the any 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 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-2011 The Apache Software Foundation. All Rights Reserved.