org.mobicents.slee.sipevent.server.subscription.pojo
Class SubscriptionKey

java.lang.Object
  extended by org.mobicents.slee.sipevent.server.subscription.pojo.SubscriptionKey
All Implemented Interfaces:
java.io.Serializable

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

Author:
eduardomartins
See Also:
Serialized Form

Constructor Summary
SubscriptionKey()
           
SubscriptionKey(java.lang.String dialogId, java.lang.String eventPackage, java.lang.String eventId)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDialogId()
           
 java.lang.String getEventId()
          Returns the persisted event id, which may be not the real one.
static java.lang.String getEventIdPersisted(java.lang.String realEventId)
           
 java.lang.String getEventPackage()
           
 java.lang.String getRealEventId()
          Returns the real event id, which may not be the one persisted.
 int hashCode()
           
 void setDialogId(java.lang.String dialogId)
           
 void setEventId(java.lang.String eventId)
           
 void setEventPackage(java.lang.String eventPackage)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubscriptionKey

public SubscriptionKey()

SubscriptionKey

public SubscriptionKey(java.lang.String dialogId,
                       java.lang.String eventPackage,
                       java.lang.String eventId)
Method Detail

getDialogId

public java.lang.String getDialogId()

setDialogId

public void setDialogId(java.lang.String dialogId)

getEventId

public java.lang.String getEventId()
Returns the persisted event id, which may be not the real one.

Returns:

setEventId

public void setEventId(java.lang.String eventId)

getRealEventId

public java.lang.String getRealEventId()
Returns the real event id, which may not be the one persisted.

Returns:

getEventIdPersisted

public static java.lang.String getEventIdPersisted(java.lang.String realEventId)

getEventPackage

public java.lang.String getEventPackage()

setEventPackage

public void setEventPackage(java.lang.String eventPackage)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2008. All Rights Reserved.