Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.aendvari.tethys.context.message
Class MessageMapping  view MessageMapping download MessageMapping.java

java.lang.Object
  extended bycom.aendvari.tethys.context.Context
      extended bycom.aendvari.tethys.context.message.MessageMapping

public class MessageMapping
extends com.aendvari.tethys.context.Context

This class is used to hold message mapping information.


Field Summary
private  java.lang.String topic
          The topic of the message.
 
Fields inherited from class com.aendvari.tethys.context.Context
 
Constructor Summary
MessageMapping(java.lang.String location, java.lang.String topic)
          Constructs a MessageMapping from the supplied values.
MessageMapping(java.lang.String location, java.lang.String topic, MessageContext parent)
          Constructs a MessageMapping from the supplied values.
 
Method Summary
 java.lang.String getTopic()
           
 void setTopic(java.lang.String topic)
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class com.aendvari.tethys.context.Context
combinePaths, extendLocation, getLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

topic

private java.lang.String topic
The topic of the message.

Constructor Detail

MessageMapping

public MessageMapping(java.lang.String location,
                      java.lang.String topic)
Constructs a MessageMapping from the supplied values.


MessageMapping

public MessageMapping(java.lang.String location,
                      java.lang.String topic,
                      MessageContext parent)
Constructs a MessageMapping from the supplied values.

Method Detail

setTopic

public void setTopic(java.lang.String topic)

getTopic

public java.lang.String getTopic()

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).