Source code: mobile/jmsapi/Destination.java
1 /** Java class "Destination.java" generated from Poseidon for UML.
2 * Poseidon for UML is developed by <A HREF="http://www.gentleware.com">Gentleware</A>.
3 * Generated with <A HREF="http://jakarta.apache.org/velocity/">velocity</A> template engine.
4 */
5 package mobile.jmsapi;
6
7
8
9 /**
10 * <p>
11 * class representing source or destination of JMS messages
12 * </p>
13 */
14 public abstract class Destination extends Id_class
15 {
16
17 protected String name;
18 ///////////////////////////////////////
19 // operations
20
21 /**
22 * <p>
23 * "subclass responsibility" method.
24 * </p><p>
25 * @return a bit mask: QUEUE in Queue and TOPIC in topic
26 *
27 */
28 protected abstract int TYPE_MASK();
29
30
31 /**
32 * <p>
33 * Returns a string representation of this object.
34 * </p><p>
35 * @return a string with object representation
36 *</p>
37 */
38 public String toString()
39 {
40 return name;
41 } // end toString
42
43 } // end Destination
44
45
46
47
48