org.jboss.mq
Class DurableSubscriptionID

java.lang.Object
  extended byorg.jboss.mq.DurableSubscriptionID
All Implemented Interfaces:
java.io.Serializable

public class DurableSubscriptionID
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
DurableSubscriptionID(java.lang.String id, java.lang.String subName, java.lang.String selector)
          Create a new DurableSubscriptionID
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getClientID()
          Get the client id
 java.lang.String getSelector()
          Gets the selector.
 java.lang.String getSubscriptionName()
          Get the subscription name
 int hashCode()
           
 void setClientID(java.lang.String newClientID)
          Set the client id
 void setSelector(java.lang.String selector)
          Sets the selector.
 void setSubscriptionName(java.lang.String newSubscriptionName)
          Set the subscription name
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DurableSubscriptionID

public DurableSubscriptionID(java.lang.String id,
                             java.lang.String subName,
                             java.lang.String selector)
Create a new DurableSubscriptionID

Parameters:
id - the client id
subName - the subscription name
selector - the selector
Method Detail

setClientID

public void setClientID(java.lang.String newClientID)
Set the client id

Parameters:
newClientID - the client id

setSubscriptionName

public void setSubscriptionName(java.lang.String newSubscriptionName)
Set the subscription name

Parameters:
newSubscriptionName - the subscription name

getClientID

public java.lang.String getClientID()
Get the client id

Returns:
the client id

getSubscriptionName

public java.lang.String getSubscriptionName()
Get the subscription name

Returns:
the subscription name

getSelector

public java.lang.String getSelector()
Gets the selector.

Returns:
the selector

setSelector

public void setSelector(java.lang.String selector)
Sets the selector.

Parameters:
selector - The selector to set

equals

public boolean equals(java.lang.Object obj)

hashCode

public int hashCode()

toString

public java.lang.String toString()