public class JMSModule extends Object
Constructor and Description |
---|
JMSModule() |
Modifier and Type | Method and Description |
---|---|
boolean |
addConnectionFactory(ConnectionFactory connectionFactory)
Add a ConnectionFactory.
|
boolean |
addDestinationKey(DestinationKey destinationKey)
Add a DestinationKey.
|
boolean |
addDistributedQueue(DistributedQueue distributedQueue)
Add a new DistributedQueue.
|
boolean |
addDistributedTopic(DistributedTopic distributedTopic)
Add a DistributedTopic.
|
boolean |
addForeignServer(ForeignServer foreignServer)
Add a ForeignServer.
|
boolean |
addQueue(Queue queue)
Add a Queue.
|
boolean |
addQuota(Quota quota)
Add a Quota.
|
boolean |
addSAFErrorHandling(SAFErrorHandling safErrorHandling)
Add a SAFErrorHandling.
|
boolean |
addSAFImportedDestination(SAFImportedDestination safImportedDestination)
Add a SAFImportedDestination.
|
boolean |
addSAFRemoteContext(SAFRemoteContext safErrorHandling)
Add a SAFRemoteContext.
|
boolean |
addTemplate(JMSTemplate template)
Add a JMSTemplate.
|
boolean |
addTopic(Topic topic)
Add a Topic.
|
boolean |
addUniformDistributedQueue(UniformDistributedQueue uniformDistributedQueue)
Add a UniformDistributedQueue.
|
boolean |
addUniformDistributedTopic(UniformDistributedTopic uniformDistributedTopic)
Add a UniformDistributedTopic.
|
List<ConnectionFactory> |
getConnectionFactories()
Get the list of ConnectionFactory objects.
|
ConnectionFactory |
getConnectionFactory(String id)
Get the specified ConnectionFactory.
|
DestinationKey |
getDestinationKey(String id)
Get the specified DestinationKey.
|
List<DestinationKey> |
getDestinationKeys()
Get the list of DestinationKey objects.
|
DistributedQueue |
getDistributedQueue(String id)
Get the specified DistributedQueue.
|
List<DistributedQueue> |
getDistributedQueues()
Get the list of DistributedQueue objects.
|
DistributedTopic |
getDistributedTopic(String id)
Get the specified DistributedTopic.
|
List<DistributedTopic> |
getDistributedTopics()
Get the list of DistributedTopic objects.
|
ForeignServer |
getForeignServer(String id)
Get the specified ForeignServer.
|
List<ForeignServer> |
getForeignServers()
Get the list of ForeignServer objects.
|
String |
getId()
Get the model ID.
|
String |
getNotes()
Get the notes associated with this JMS module.
|
Queue |
getQueue(String id)
Get the specified Queue.
|
List<Queue> |
getQueues()
Get the list of Queue objects.
|
Quota |
getQuota(String id)
Get the specified Quota.
|
List<Quota> |
getQuotas()
Get the list of Quota objects.
|
SAFErrorHandling |
getSAFErrorHandling(String id)
Get the specified SAFErrorHandling.
|
List<SAFErrorHandling> |
getSAFErrorHandlings()
Get the list of SAFErrorHandling objects.
|
SAFImportedDestination |
getSAFImportedDestination(String id)
Get the specified SAFImportedDestination.
|
List<SAFImportedDestination> |
getSAFImportedDestinations()
Get the lift of SAFImportedDestination objects.
|
SAFRemoteContext |
getSAFRemoteContext(String id)
Get the specified SAFRemoteContext.
|
List<SAFRemoteContext> |
getSAFRemoteContexts()
Get the lift of SAFRemoteContext objects.
|
JMSTemplate |
getTemplate(String id)
Get the specified JMSTemplate.
|
List<JMSTemplate> |
getTemplates()
Get the list of JMSTemplate objects.
|
Topic |
getTopic(String id)
Get the specified Topic.
|
List<Topic> |
getTopics()
Get the list of Topic objects.
|
UniformDistributedQueue |
getUniformDistributedQueue(String id)
Get the specified UniformDistributedQueue.
|
List<UniformDistributedQueue> |
getUniformDistributedQueues()
Get the list of UniformDistributedQueue objects.
|
UniformDistributedTopic |
getUniformDistributedTopic(String id)
Get the specified UniformDistributedTopic.
|
List<UniformDistributedTopic> |
getUniformDistributedTopics()
Get the list of UniformDistributedTopic objects.
|
Integer |
getVersion()
Get the version of the JMS module.
|
JMSModule |
setConnectionFactories(List<ConnectionFactory> connectionFactories)
Set the list of ConnectionFactory objects.
|
JMSModule |
setDestinationKeys(List<DestinationKey> destinationKeys)
Set the list of DestinationKey objects.
|
JMSModule |
setDistributedQueues(List<DistributedQueue> distributedQueues)
Set the list of DistributedQueue objects.
|
JMSModule |
setDistributedTopics(List<DistributedTopic> distributedTopics)
Set the list of DistributedTopic objects.
|
JMSModule |
setForeignServers(List<ForeignServer> foreignServers)
Set the list of ForeignServer objects.
|
JMSModule |
setId(String id)
Set the model ID.
|
JMSModule |
setNotes(String notes)
Set the notes to associate with the JMS module.
|
JMSModule |
setQueues(List<Queue> queues)
Set the list of Queue objects.
|
JMSModule |
setQuotas(List<Quota> quotas)
Set the list of Quota objects.
|
JMSModule |
setSAFErrorHandlings(List<SAFErrorHandling> SAFErrorHandlings)
Set the list of SAFErrorHandling objects.
|
JMSModule |
setSAFImportedDestinations(List<SAFImportedDestination> safImportedDestinations)
Set the lift of SAFImportedDestination objects.
|
JMSModule |
setSAFRemoteContexts(List<SAFRemoteContext> safRemoteContexts)
Set the lift of SAFRemoteContext objects.
|
JMSModule |
setTemplates(List<JMSTemplate> templates)
Set the list of JMSTemplate objects.
|
JMSModule |
setTopics(List<Topic> topics)
Set the list of Topic objects.
|
JMSModule |
setUniformDistributedQueues(List<UniformDistributedQueue> uniformDistributedQueues)
Set the list of UniformDistributedQueue objects.
|
JMSModule |
setUniformDistributedTopics(List<UniformDistributedTopic> uniformDistributedTopics)
Set the list of UniformDistributedTopic objects.
|
JMSModule |
setVersion(Integer version)
Set the version of the JMS module.
|
String |
toCompactString()
Returns a compact string representation of the object in XML format.
|
String |
toJsonCompactString()
Returns a compact string representation of the object in JSON format.
|
String |
toJsonString()
Returns a string representation of the object in JSON format.
|
String |
toString()
Returns a string representation of the object in XML format.
|
String |
toXmlCompactString()
Returns a compact string representation of the object in XML format.
|
String |
toXmlString()
Returns a string representation of the object in XML format.
|
public String getId()
public JMSModule setId(String id)
id
- the new model IDpublic String getNotes()
public JMSModule setNotes(String notes)
notes
- the new notespublic Integer getVersion()
public JMSModule setVersion(Integer version)
version
- the new versionpublic boolean addConnectionFactory(ConnectionFactory connectionFactory)
connectionFactory
- the ConnectionFactory to addpublic ConnectionFactory getConnectionFactory(String id)
id
- the id of the ConnectionFactory to getpublic List<ConnectionFactory> getConnectionFactories()
public JMSModule setConnectionFactories(List<ConnectionFactory> connectionFactories)
connectionFactories
- the new listpublic boolean addDestinationKey(DestinationKey destinationKey)
destinationKey
- the DestinationKey to addpublic DestinationKey getDestinationKey(String id)
id
- the id of the DestinationKey to getpublic List<DestinationKey> getDestinationKeys()
public JMSModule setDestinationKeys(List<DestinationKey> destinationKeys)
destinationKeys
- the new listpublic boolean addDistributedQueue(DistributedQueue distributedQueue)
distributedQueue
- the DistributedQueue to addpublic DistributedQueue getDistributedQueue(String id)
id
- the id of the DistributedQueue to getpublic List<DistributedQueue> getDistributedQueues()
public JMSModule setDistributedQueues(List<DistributedQueue> distributedQueues)
distributedQueues
- the new listpublic boolean addDistributedTopic(DistributedTopic distributedTopic)
distributedTopic
- the DistributedTopic to addpublic DistributedTopic getDistributedTopic(String id)
id
- the id of the DistributedTopic to getpublic List<DistributedTopic> getDistributedTopics()
public JMSModule setDistributedTopics(List<DistributedTopic> distributedTopics)
distributedTopics
- the new listpublic boolean addForeignServer(ForeignServer foreignServer)
foreignServer
- the ForeignServer to addpublic ForeignServer getForeignServer(String id)
id
- the id of the ForeignServer to getpublic List<ForeignServer> getForeignServers()
public JMSModule setForeignServers(List<ForeignServer> foreignServers)
foreignServers
- the new listpublic boolean addQueue(Queue queue)
queue
- the Queue to addpublic Queue getQueue(String id)
id
- the id of the Queue to getpublic List<Queue> getQueues()
public JMSModule setQueues(List<Queue> queues)
queues
- the new listpublic boolean addQuota(Quota quota)
quota
- the Quota to addpublic Quota getQuota(String id)
id
- the id of the Quota to getpublic List<Quota> getQuotas()
public JMSModule setQuotas(List<Quota> quotas)
quotas
- the new listpublic boolean addSAFErrorHandling(SAFErrorHandling safErrorHandling)
safErrorHandling
- the SAFErrorHandling to addpublic SAFErrorHandling getSAFErrorHandling(String id)
id
- the id of the SAFErrorHandling to getpublic List<SAFErrorHandling> getSAFErrorHandlings()
public JMSModule setSAFErrorHandlings(List<SAFErrorHandling> SAFErrorHandlings)
SAFErrorHandlings
- the new listpublic boolean addSAFImportedDestination(SAFImportedDestination safImportedDestination)
safImportedDestination
- the SAFImportedDestination to addpublic SAFImportedDestination getSAFImportedDestination(String id)
id
- the id of the SAFImportedDestination to getpublic List<SAFImportedDestination> getSAFImportedDestinations()
public JMSModule setSAFImportedDestinations(List<SAFImportedDestination> safImportedDestinations)
safImportedDestinations
- the new listpublic boolean addSAFRemoteContext(SAFRemoteContext safErrorHandling)
safErrorHandling
- the SAFRemoteContext to addpublic SAFRemoteContext getSAFRemoteContext(String id)
id
- the id of the SAFRemoteContext to getpublic List<SAFRemoteContext> getSAFRemoteContexts()
public JMSModule setSAFRemoteContexts(List<SAFRemoteContext> safRemoteContexts)
safRemoteContexts
- the new listpublic boolean addTemplate(JMSTemplate template)
template
- the JMSTemplate to addpublic JMSTemplate getTemplate(String id)
id
- the id of the JMSTemplate to getpublic List<JMSTemplate> getTemplates()
public JMSModule setTemplates(List<JMSTemplate> templates)
templates
- the new listpublic boolean addTopic(Topic topic)
topic
- the Topic to addpublic Topic getTopic(String id)
id
- the id of the Topic to addpublic List<Topic> getTopics()
public JMSModule setTopics(List<Topic> topics)
topics
- the new listpublic boolean addUniformDistributedQueue(UniformDistributedQueue uniformDistributedQueue)
uniformDistributedQueue
- the UniformDistributedQueue to addpublic UniformDistributedQueue getUniformDistributedQueue(String id)
id
- the id of the UniformDistributedQueue to getpublic List<UniformDistributedQueue> getUniformDistributedQueues()
public JMSModule setUniformDistributedQueues(List<UniformDistributedQueue> uniformDistributedQueues)
uniformDistributedQueues
- the new listpublic boolean addUniformDistributedTopic(UniformDistributedTopic uniformDistributedTopic)
uniformDistributedTopic
- the UniformDistributedTopic to addpublic UniformDistributedTopic getUniformDistributedTopic(String id)
id
- the id of the UniformDistributedTopic to getpublic List<UniformDistributedTopic> getUniformDistributedTopics()
public JMSModule setUniformDistributedTopics(List<UniformDistributedTopic> uniformDistributedTopics)
uniformDistributedTopics
- the new listpublic String toXmlCompactString()
public String toXmlString()
public String toJsonCompactString()
public String toJsonString()
public String toCompactString()