|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.infoway.messagebuilder.marshalling.MessageBeanRegistry
public class MessageBeanRegistry
A utility class that can be used to translate between Java model classes and their corresponding HL7 interactions or message parts.
This utility depends on two conventions:
First, every jar that contains generated model classes will include a Manifest file that has an attribute, MBT-Model-Version-Numbers, which lists the version numbers that the model classes are valid for.
Two, each message part class will have an annotation that describes the part type that it maps to.
Method Summary | |
---|---|
Collection<Class<?>> |
getAllMessageParts()
|
Class<? extends Code> |
getCodeType(String domainType,
String version)
|
static MessageBeanRegistry |
getInstance()
Get the instance of the message bean registry. |
Class<? extends InteractionBean> |
getInteractionBeanType(MessageTypeKey key)
Get the class for a particular interaction. |
Set<MessageTypeKey> |
getMessageTypeKeys()
Get a collection of all message type keys that are contained in the registry. |
boolean |
isMessagePartDefined(VersionNumber version,
String type)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static MessageBeanRegistry getInstance()
Get the instance of the message bean registry.
public Class<? extends Code> getCodeType(String domainType, String version)
public Collection<Class<?>> getAllMessageParts()
public Set<MessageTypeKey> getMessageTypeKeys()
Get a collection of all message type keys that are contained in the registry.
public Class<? extends InteractionBean> getInteractionBeanType(MessageTypeKey key)
Get the class for a particular interaction.
public boolean isMessagePartDefined(VersionNumber version, String type)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |