|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.infoway.messagebuilder.xml.service.CompositeMessageDefinitionService
public class CompositeMessageDefinitionService
A message definition service that combines the results of other message defintion services.
Constructor Summary | |
---|---|
CompositeMessageDefinitionService(List<MessageDefinitionService> services)
Standard constructor. |
Method Summary | |
---|---|
List<Interaction> |
getAllInteractions(boolean includeDuplicateInteractionsWithChangedBusinessNames)
Get all interactions across all versions. |
List<Interaction> |
getAllInteractions(VersionNumber version)
Get all interactions for a particular version of the specification. |
Map<String,MessagePart> |
getAllMessageParts(Interaction interaction,
VersionNumber version)
Get all the message parts for a particular interaction and version. |
Map<String,MessagePart> |
getAllRelatedMessageParts(MessagePart messagePart,
VersionNumber version)
Get all the message parts that a particular root message part references. |
List<MessagePart> |
getAllRootMessageParts()
Get all the root message parts for all message sets. |
List<MessagePart> |
getAllRootMessageParts(VersionNumber version)
Get all the root message parts for a specific message set. |
Interaction |
getInteraction(VersionNumber version,
String type)
Get an interaction by name and version. |
MessagePart |
getMessagePart(VersionNumber version,
String type)
Get a message part by name and version. |
Set<String> |
getSupportedVersions()
Get all the versions known by this service. |
Set<String> |
getSupportedVersionsForInteraction(String type)
Get all the versions for a particular interaction. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompositeMessageDefinitionService(List<MessageDefinitionService> services)
Standard constructor.
services
- - the constituent services whose results are being consolidated.Method Detail |
---|
public Interaction getInteraction(VersionNumber version, String type)
Get an interaction by name and version.
getInteraction
in interface MessageDefinitionService
version
- - the versiontype
- - the type name
public MessagePart getMessagePart(VersionNumber version, String type)
Get a message part by name and version.
getMessagePart
in interface MessageDefinitionService
version
- - the versiontype
- - the type name
public List<Interaction> getAllInteractions(boolean includeDuplicateInteractionsWithChangedBusinessNames)
Get all interactions across all versions.
getAllInteractions
in interface MessageDefinitionService
includeDuplicateInteractionsWithChangedBusinessNames
- - a flag indicating whether or not to include duplicates
public List<Interaction> getAllInteractions(VersionNumber version)
Get all interactions for a particular version of the specification.
getAllInteractions
in interface MessageDefinitionService
version
- - the version
public Set<String> getSupportedVersions()
Get all the versions known by this service.
getSupportedVersions
in interface MessageDefinitionService
public Set<String> getSupportedVersionsForInteraction(String type)
Get all the versions for a particular interaction.
getSupportedVersionsForInteraction
in interface MessageDefinitionService
type
- - the type name of the interaction
public Map<String,MessagePart> getAllMessageParts(Interaction interaction, VersionNumber version)
Get all the message parts for a particular interaction and version.
getAllMessageParts
in interface MessageDefinitionService
interaction
- - the interactionversion
- - the version
public Map<String,MessagePart> getAllRelatedMessageParts(MessagePart messagePart, VersionNumber version)
Get all the message parts that a particular root message part references. Currently this method is unimplemented.
getAllRelatedMessageParts
in interface MessageDefinitionService
messagePart
- - the messagePartversion
- - the version
public List<MessagePart> getAllRootMessageParts()
Get all the root message parts for all message sets. Currently this method is unimplemented.
getAllRootMessageParts
in interface MessageDefinitionService
public List<MessagePart> getAllRootMessageParts(VersionNumber version)
MessageDefinitionService
Get all the root message parts for a specific message set.
getAllRootMessageParts
in interface MessageDefinitionService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |