|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.rim.pushsdk.subscription.SubscriberPrimaryKey
public class SubscriberPrimaryKey
Represents the primary key of a subscriber consisting of its app id and its subscriber id.
| Constructor Summary | |
|---|---|
SubscriberPrimaryKey(String pushApplicationId,
String id)
Constructs a subscriber primary key with the given app id and subscriber id. |
|
SubscriberPrimaryKey(SubscriberPrimaryKey subscriberPrimaryKey)
Copy Constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Returns true if two subscriber primary keys are found to be equal and false otherwise. |
String |
getId()
Gets the current value of the subscriber id. |
String |
getPushApplicationId()
Gets the current value of the id of the subscriber's push application. |
int |
hashCode()
Returns a hashcode for this subscriber primary key. |
void |
setId(String id)
Sets the current value of the subscriber id. |
void |
setPushApplicationId(String pushApplicationId)
Sets the current value of the id of the subscriber's push application. |
String |
toString()
Constructs a String with all attributes in name = value format. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SubscriberPrimaryKey(SubscriberPrimaryKey subscriberPrimaryKey)
subscriberPrimaryKey - a SubscriberPrimaryKey object
public SubscriberPrimaryKey(String pushApplicationId,
String id)
pushApplicationId - the id of a push applicationid - the id of a subscriber| Method Detail |
|---|
public void setPushApplicationId(String pushApplicationId)
pushApplicationId - the push application idpublic String getPushApplicationId()
public void setId(String id)
id - the subscriber idpublic String getId()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
String with all attributes in name = value format.
toString in class ObjectString representation of this object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||