ca.infoway.messagebuilder.marshalling.hl7
Class XmlToModelResult
java.lang.Object
ca.infoway.messagebuilder.marshalling.hl7.XmlToModelResult
- All Implemented Interfaces:
- Hl7Errors
public class XmlToModelResult
- extends Object
- implements Hl7Errors
An object that represents the result of transforming an object from HL7 XML format
to an object representation. The result tends to contain two key items:
- An object representation of the HL7 message that contains all of the populated
data.
- A set of errors that were encountered during parsing of the message.
- Author:
- Intelliware Development
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlToModelResult
public XmlToModelResult()
getMessageObject
public Object getMessageObject()
The object representation of the HL7 message.
- Returns:
- - the populated classes that contain the message data.
setMessageObject
public void setMessageObject(Object messageObject)
isValid
public boolean isValid()
- Specified by:
isValid
in interface Hl7Errors
addHl7Error
public void addHl7Error(Hl7Error hl7Error)
- Specified by:
addHl7Error
in interface Hl7Errors
getHl7Errors
public List<Hl7Error> getHl7Errors()
- Specified by:
getHl7Errors
in interface Hl7Errors
clearErrors
public void clearErrors()
Copyright © 2013. All Rights Reserved.