net.ihe.gazelle.demographic.ws
Class HL7Exception

java.lang.Object
  extended by net.ihe.gazelle.demographic.ws.HL7Exception

public class HL7Exception
extends java.lang.Object

HL7Exception bean class


Nested Class Summary
static class HL7Exception.Factory
          Factory class that keeps the parse method
 
Field Summary
protected  int localErrorCode
          field for ErrorCode
protected  int localFieldPosition
          field for FieldPosition
protected  java.lang.String localMessage
          field for Message
protected  boolean localMessageTracker
           
protected  java.lang.String localSegmentName
          field for SegmentName
protected  boolean localSegmentNameTracker
           
protected  int localSegmentRepetition
          field for SegmentRepetition
 
Constructor Summary
HL7Exception()
           
 
Method Summary
 int getErrorCode()
          Auto generated getter method
 int getFieldPosition()
          Auto generated getter method
 java.lang.String getMessage()
          Auto generated getter method
 org.apache.axiom.om.OMElement getOMElement(javax.xml.namespace.QName parentQName, org.apache.axiom.om.OMFactory factory)
           
 javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName)
          databinding method to get an XML representation of this object
 java.lang.String getSegmentName()
          Auto generated getter method
 int getSegmentRepetition()
          Auto generated getter method
static boolean isReaderMTOMAware(javax.xml.stream.XMLStreamReader reader)
          isReaderMTOMAware
 void serialize(javax.xml.namespace.QName parentQName, org.apache.axiom.om.OMFactory factory, org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter)
           
 void serialize(javax.xml.namespace.QName parentQName, org.apache.axiom.om.OMFactory factory, org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter, boolean serializeType)
           
 void setErrorCode(int param)
          Auto generated setter method
 void setFieldPosition(int param)
          Auto generated setter method
 void setMessage(java.lang.String param)
          Auto generated setter method
 void setSegmentName(java.lang.String param)
          Auto generated setter method
 void setSegmentRepetition(int param)
          Auto generated setter method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

localErrorCode

protected int localErrorCode
field for ErrorCode


localFieldPosition

protected int localFieldPosition
field for FieldPosition


localMessage

protected java.lang.String localMessage
field for Message


localMessageTracker

protected boolean localMessageTracker

localSegmentName

protected java.lang.String localSegmentName
field for SegmentName


localSegmentNameTracker

protected boolean localSegmentNameTracker

localSegmentRepetition

protected int localSegmentRepetition
field for SegmentRepetition

Constructor Detail

HL7Exception

public HL7Exception()
Method Detail

getErrorCode

public int getErrorCode()
Auto generated getter method

Returns:
int

setErrorCode

public void setErrorCode(int param)
Auto generated setter method

Parameters:
param - ErrorCode

getFieldPosition

public int getFieldPosition()
Auto generated getter method

Returns:
int

setFieldPosition

public void setFieldPosition(int param)
Auto generated setter method

Parameters:
param - FieldPosition

getMessage

public java.lang.String getMessage()
Auto generated getter method

Returns:
java.lang.String

setMessage

public void setMessage(java.lang.String param)
Auto generated setter method

Parameters:
param - Message

getSegmentName

public java.lang.String getSegmentName()
Auto generated getter method

Returns:
java.lang.String

setSegmentName

public void setSegmentName(java.lang.String param)
Auto generated setter method

Parameters:
param - SegmentName

getSegmentRepetition

public int getSegmentRepetition()
Auto generated getter method

Returns:
int

setSegmentRepetition

public void setSegmentRepetition(int param)
Auto generated setter method

Parameters:
param - SegmentRepetition

isReaderMTOMAware

public static boolean isReaderMTOMAware(javax.xml.stream.XMLStreamReader reader)
isReaderMTOMAware

Returns:
true if the reader supports MTOM

getOMElement

public org.apache.axiom.om.OMElement getOMElement(javax.xml.namespace.QName parentQName,
                                                  org.apache.axiom.om.OMFactory factory)
                                           throws org.apache.axis2.databinding.ADBException
Parameters:
parentQName -
factory -
Returns:
org.apache.axiom.om.OMElement
Throws:
org.apache.axis2.databinding.ADBException

serialize

public void serialize(javax.xml.namespace.QName parentQName,
                      org.apache.axiom.om.OMFactory factory,
                      org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter)
               throws javax.xml.stream.XMLStreamException,
                      org.apache.axis2.databinding.ADBException
Throws:
javax.xml.stream.XMLStreamException
org.apache.axis2.databinding.ADBException

serialize

public void serialize(javax.xml.namespace.QName parentQName,
                      org.apache.axiom.om.OMFactory factory,
                      org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter,
                      boolean serializeType)
               throws javax.xml.stream.XMLStreamException,
                      org.apache.axis2.databinding.ADBException
Throws:
javax.xml.stream.XMLStreamException
org.apache.axis2.databinding.ADBException

getPullParser

public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName)
                                               throws org.apache.axis2.databinding.ADBException
databinding method to get an XML representation of this object

Throws:
org.apache.axis2.databinding.ADBException