org.oasis_open.docs.ebxml_bp.ebbp_signals_2
Class Exception

java.lang.Object
  extended by org.oasis_open.docs.ebxml_bp.ebbp_signals_2.SignalIdentificationInformation
      extended by org.oasis_open.docs.ebxml_bp.ebbp_signals_2.Exception
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString

public class Exception
extends SignalIdentificationInformation
implements org.jvnet.jaxb2_commons.lang.ToString

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <extension base="{http://docs.oasis-open.org/ebxml-bp/ebbp-signals-2.0}SignalIdentificationInformation">
       <sequence>
         <element name="ExceptionType">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <choice>
                   <element name="ReceiptException">
                     <simpleType>
                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                         <enumeration value="Syntax"/>
                         <enumeration value="Authorization"/>
                         <enumeration value="Signature"/>
                         <enumeration value="Sequence"/>
                       </restriction>
                     </simpleType>
                   </element>
                   <element name="AcceptanceException">
                     <simpleType>
                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                         <enumeration value="Business"/>
                         <enumeration value="Performance"/>
                       </restriction>
                     </simpleType>
                   </element>
                   <element name="GeneralException">
                     <simpleType>
                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                       </restriction>
                     </simpleType>
                   </element>
                 </choice>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="Reason" type="{http://docs.oasis-open.org/ebxml-bp/ebbp-signals-2.0}non-empty-string"/>
         <element name="ExceptionMessage" type="{http://docs.oasis-open.org/ebxml-bp/ebbp-signals-2.0}non-empty-string" minOccurs="0"/>
         <any namespace='##other' minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class Exception.ExceptionType
          Java class for anonymous complex type.
 
Field Summary
protected  Object any
           
protected  String exceptionMessage
           
protected  Exception.ExceptionType exceptionType
           
protected  String reason
           
 
Fields inherited from class org.oasis_open.docs.ebxml_bp.ebbp_signals_2.SignalIdentificationInformation
businessActivityIdentifier, collaborationIdentifier, fromPartyInfo, fromRole, originalDocumentIdentifier, originalMessageDateTime, originalMessageIdentifier, processSpecificationInfo, thisMessageDateTime, toPartyInfo, toRole
 
Constructor Summary
Exception()
          Default no-arg constructor
Exception(String originalMessageIdentifier, String originalDocumentIdentifier, org.joda.time.DateTime originalMessageDateTime, org.joda.time.DateTime thisMessageDateTime, PartyInfoType fromPartyInfo, PartyInfoType toPartyInfo, RoleType fromRole, RoleType toRole, ProcessSpecificationInfoType processSpecificationInfo, String collaborationIdentifier, String businessActivityIdentifier, Exception.ExceptionType exceptionType, String reason, String exceptionMessage, Object any)
          Fully-initialising value constructor
 
Method Summary
 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 Object getAny()
          Gets the value of the any property.
 String getExceptionMessage()
          Gets the value of the exceptionMessage property.
 Exception.ExceptionType getExceptionType()
          Gets the value of the exceptionType property.
 String getReason()
          Gets the value of the reason property.
 void setAny(Object value)
          Sets the value of the any property.
 void setExceptionMessage(String value)
          Sets the value of the exceptionMessage property.
 void setExceptionType(Exception.ExceptionType value)
          Sets the value of the exceptionType property.
 void setReason(String value)
          Sets the value of the reason property.
 String toString()
           
 Exception withAny(Object value)
           
 Exception withBusinessActivityIdentifier(String value)
           
 Exception withCollaborationIdentifier(String value)
           
 Exception withExceptionMessage(String value)
           
 Exception withExceptionType(Exception.ExceptionType value)
           
 Exception withFromPartyInfo(PartyInfoType value)
           
 Exception withFromRole(RoleType value)
           
 Exception withOriginalDocumentIdentifier(String value)
           
 Exception withOriginalMessageDateTime(org.joda.time.DateTime value)
           
 Exception withOriginalMessageIdentifier(String value)
           
 Exception withProcessSpecificationInfo(ProcessSpecificationInfoType value)
           
 Exception withReason(String value)
           
 Exception withThisMessageDateTime(org.joda.time.DateTime value)
           
 Exception withToPartyInfo(PartyInfoType value)
           
 Exception withToRole(RoleType value)
           
 
Methods inherited from class org.oasis_open.docs.ebxml_bp.ebbp_signals_2.SignalIdentificationInformation
getBusinessActivityIdentifier, getCollaborationIdentifier, getFromPartyInfo, getFromRole, getOriginalDocumentIdentifier, getOriginalMessageDateTime, getOriginalMessageIdentifier, getProcessSpecificationInfo, getThisMessageDateTime, getToPartyInfo, getToRole, setBusinessActivityIdentifier, setCollaborationIdentifier, setFromPartyInfo, setFromRole, setOriginalDocumentIdentifier, setOriginalMessageDateTime, setOriginalMessageIdentifier, setProcessSpecificationInfo, setThisMessageDateTime, setToPartyInfo, setToRole
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

exceptionType

protected Exception.ExceptionType exceptionType

reason

protected String reason

exceptionMessage

protected String exceptionMessage

any

protected Object any
Constructor Detail

Exception

public Exception()
Default no-arg constructor


Exception

public Exception(String originalMessageIdentifier,
                 String originalDocumentIdentifier,
                 org.joda.time.DateTime originalMessageDateTime,
                 org.joda.time.DateTime thisMessageDateTime,
                 PartyInfoType fromPartyInfo,
                 PartyInfoType toPartyInfo,
                 RoleType fromRole,
                 RoleType toRole,
                 ProcessSpecificationInfoType processSpecificationInfo,
                 String collaborationIdentifier,
                 String businessActivityIdentifier,
                 Exception.ExceptionType exceptionType,
                 String reason,
                 String exceptionMessage,
                 Object any)
Fully-initialising value constructor

Method Detail

getExceptionType

public Exception.ExceptionType getExceptionType()
Gets the value of the exceptionType property.

Returns:
possible object is Exception.ExceptionType

setExceptionType

public void setExceptionType(Exception.ExceptionType value)
Sets the value of the exceptionType property.

Parameters:
value - allowed object is Exception.ExceptionType

getReason

public String getReason()
Gets the value of the reason property.

Returns:
possible object is String

setReason

public void setReason(String value)
Sets the value of the reason property.

Parameters:
value - allowed object is String

getExceptionMessage

public String getExceptionMessage()
Gets the value of the exceptionMessage property.

Returns:
possible object is String

setExceptionMessage

public void setExceptionMessage(String value)
Sets the value of the exceptionMessage property.

Parameters:
value - allowed object is String

getAny

public Object getAny()
Gets the value of the any property.

Returns:
possible object is Element Object

setAny

public void setAny(Object value)
Sets the value of the any property.

Parameters:
value - allowed object is Element Object

toString

public String toString()
Overrides:
toString in class SignalIdentificationInformation

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString
Overrides:
append in class SignalIdentificationInformation

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString
Overrides:
appendFields in class SignalIdentificationInformation

withExceptionType

public Exception withExceptionType(Exception.ExceptionType value)

withReason

public Exception withReason(String value)

withExceptionMessage

public Exception withExceptionMessage(String value)

withAny

public Exception withAny(Object value)

withOriginalMessageIdentifier

public Exception withOriginalMessageIdentifier(String value)
Overrides:
withOriginalMessageIdentifier in class SignalIdentificationInformation

withOriginalDocumentIdentifier

public Exception withOriginalDocumentIdentifier(String value)
Overrides:
withOriginalDocumentIdentifier in class SignalIdentificationInformation

withOriginalMessageDateTime

public Exception withOriginalMessageDateTime(org.joda.time.DateTime value)
Overrides:
withOriginalMessageDateTime in class SignalIdentificationInformation

withThisMessageDateTime

public Exception withThisMessageDateTime(org.joda.time.DateTime value)
Overrides:
withThisMessageDateTime in class SignalIdentificationInformation

withFromPartyInfo

public Exception withFromPartyInfo(PartyInfoType value)
Overrides:
withFromPartyInfo in class SignalIdentificationInformation

withToPartyInfo

public Exception withToPartyInfo(PartyInfoType value)
Overrides:
withToPartyInfo in class SignalIdentificationInformation

withFromRole

public Exception withFromRole(RoleType value)
Overrides:
withFromRole in class SignalIdentificationInformation

withToRole

public Exception withToRole(RoleType value)
Overrides:
withToRole in class SignalIdentificationInformation

withProcessSpecificationInfo

public Exception withProcessSpecificationInfo(ProcessSpecificationInfoType value)
Overrides:
withProcessSpecificationInfo in class SignalIdentificationInformation

withCollaborationIdentifier

public Exception withCollaborationIdentifier(String value)
Overrides:
withCollaborationIdentifier in class SignalIdentificationInformation

withBusinessActivityIdentifier

public Exception withBusinessActivityIdentifier(String value)
Overrides:
withBusinessActivityIdentifier in class SignalIdentificationInformation


Copyright © 2014 Digipost Open Source. All Rights Reserved.