BrightSide Workbench Full Report + Source Code
org.turro.elephant.entities.db.PushSubscriptionPK Class Reference
Inheritance diagram for org.turro.elephant.entities.db.PushSubscriptionPK:
Collaboration diagram for org.turro.elephant.entities.db.PushSubscriptionPK:

Public Member Functions

String getContactId ()
 
void setContactId (String contactId)
 
String getEndpoint ()
 
void setEndpoint (String endpoint)
 
int hashCode ()
 
boolean equals (Object obj)
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 28 of file PushSubscriptionPK.java.

Member Function Documentation

◆ equals()

boolean org.turro.elephant.entities.db.PushSubscriptionPK.equals ( Object  obj)

Definition at line 58 of file PushSubscriptionPK.java.

58  {
59  if (this == obj) {
60  return true;
61  }
62  if (obj == null) {
63  return false;
64  }
65  if (getClass() != obj.getClass()) {
66  return false;
67  }
68  final PushSubscriptionPK other = (PushSubscriptionPK) obj;
69  if (!Objects.equals(this.contactId, other.contactId)) {
70  return false;
71  }
72  return Objects.equals(this.endpoint, other.endpoint);
73  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getContactId()

String org.turro.elephant.entities.db.PushSubscriptionPK.getContactId ( )

Definition at line 33 of file PushSubscriptionPK.java.

33  {
34  return contactId;
35  }

◆ getEndpoint()

String org.turro.elephant.entities.db.PushSubscriptionPK.getEndpoint ( )

Definition at line 41 of file PushSubscriptionPK.java.

41  {
42  return endpoint;
43  }

◆ hashCode()

int org.turro.elephant.entities.db.PushSubscriptionPK.hashCode ( )

Definition at line 50 of file PushSubscriptionPK.java.

50  {
51  int hash = 3;
52  hash = 37 * hash + Objects.hashCode(this.contactId);
53  hash = 37 * hash + Objects.hashCode(this.endpoint);
54  return hash;
55  }

◆ setContactId()

void org.turro.elephant.entities.db.PushSubscriptionPK.setContactId ( String  contactId)

Definition at line 37 of file PushSubscriptionPK.java.

37  {
38  this.contactId = contactId;
39  }

◆ setEndpoint()

void org.turro.elephant.entities.db.PushSubscriptionPK.setEndpoint ( String  endpoint)

Definition at line 45 of file PushSubscriptionPK.java.

45  {
46  this.endpoint = endpoint;
47  }

The documentation for this class was generated from the following file: