|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.infoway.messagebuilder.xml.MessageSet
public class MessageSet
A representation of an entire message set.
Constructor Summary | |
---|---|
MessageSet()
|
Method Summary | |
---|---|
void |
addMessagePart(MessagePart part)
Add a message part. |
Collection<MessagePart> |
getAllMessageParts()
Get a collection of all message parts defined by the message set. |
String |
getComponent()
Get the component. |
Map<String,Interaction> |
getInteractions()
Get a map of all the interactions defined in the message set, keyed by interaction id. |
MessagePart |
getMessagePart(String type)
Get a part by part type name. |
String |
getPackageLocationRootType(String packageLocation)
Get a package location root type. |
Map<String,PackageLocation> |
getPackageLocations()
Get a map of all package locations, keyed by package location id. |
List<MessageSetHistory> |
getRemixHistory()
Get the remixHistory. |
String |
getSchemaVersion()
|
String |
getVersion()
Get the version code that this message set represents. |
Vocabulary |
getVocabulary()
|
boolean |
isVocabularyDataPresent()
|
void |
setComponent(String component)
Set the component. |
void |
setInteractions(Map<String,Interaction> interactions)
Set the interactions. |
void |
setPackageLocations(Map<String,PackageLocation> packageLocations)
Set the package locations. |
void |
setRemixHistory(List<MessageSetHistory> remixHistory)
Set the remixHistory. |
void |
setSchemaVersion(String schemaVersion)
|
void |
setVersion(String version)
Set the version code. |
void |
setVocabulary(Vocabulary vocabulary)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageSet()
Method Detail |
---|
public String getVersion()
Get the version code that this message set represents.
public void setVersion(String version)
Set the version code.
version
- - the new version code.public Map<String,Interaction> getInteractions()
Get a map of all the interactions defined in the message set, keyed by interaction id.
public void setInteractions(Map<String,Interaction> interactions)
Set the interactions.
interactions
- - the new valuepublic Map<String,PackageLocation> getPackageLocations()
Get a map of all package locations, keyed by package location id.
public void setPackageLocations(Map<String,PackageLocation> packageLocations)
Set the package locations.
packageLocations
- - the new value.public MessagePart getMessagePart(String type)
Get a part by part type name.
getMessagePart
in interface MessagePartResolver
type
- - the message part type name
public void addMessagePart(MessagePart part)
Add a message part.
part
- - the message part to addpublic Collection<MessagePart> getAllMessageParts()
Get a collection of all message parts defined by the message set.
public String getPackageLocationRootType(String packageLocation)
Get a package location root type.
getPackageLocationRootType
in interface MessagePartResolver
packageLocation
- - the package location key
public String getComponent()
Get the component.
public void setComponent(String component)
Set the component.
component
- - the new valuepublic List<MessageSetHistory> getRemixHistory()
Get the remixHistory.
public void setRemixHistory(List<MessageSetHistory> remixHistory)
Set the remixHistory.
remixHistory
- - the new valuepublic Vocabulary getVocabulary()
public String getSchemaVersion()
public void setSchemaVersion(String schemaVersion)
public void setVocabulary(Vocabulary vocabulary)
public boolean isVocabularyDataPresent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |