BrightSide Workbench Full Report + Source Code
org.turro.contacts.RelatedPathsPK Class Reference
Inheritance diagram for org.turro.contacts.RelatedPathsPK:
Collaboration diagram for org.turro.contacts.RelatedPathsPK:

Public Member Functions

String getDestination ()
 
void setDestination (String destination)
 
String getOrigin ()
 
void setOrigin (String origin)
 
boolean equals (Object obj)
 
int hashCode ()
 

Detailed Description

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

Definition at line 24 of file RelatedPathsPK.java.

Member Function Documentation

◆ equals()

boolean org.turro.contacts.RelatedPathsPK.equals ( Object  obj)

Definition at line 47 of file RelatedPathsPK.java.

47  {
48  if (obj == null) {
49  return false;
50  }
51  if (getClass() != obj.getClass()) {
52  return false;
53  }
54  final RelatedPathsPK other = (RelatedPathsPK) obj;
55  if ((this.origin == null) ? (other.origin != null) : !this.origin.equals(other.origin)) {
56  return false;
57  }
58  if ((this.destination == null) ? (other.destination != null) : !this.destination.equals(other.destination)) {
59  return false;
60  }
61  return true;
62  }

◆ getDestination()

String org.turro.contacts.RelatedPathsPK.getDestination ( )

Definition at line 30 of file RelatedPathsPK.java.

30  {
31  return destination;
32  }

◆ getOrigin()

String org.turro.contacts.RelatedPathsPK.getOrigin ( )

Definition at line 38 of file RelatedPathsPK.java.

38  {
39  return origin;
40  }

◆ hashCode()

int org.turro.contacts.RelatedPathsPK.hashCode ( )

Definition at line 65 of file RelatedPathsPK.java.

65  {
66  int hash = 7;
67  hash = 43 * hash + (this.origin != null ? this.origin.hashCode() : 0);
68  hash = 43 * hash + (this.destination != null ? this.destination.hashCode() : 0);
69  return hash;
70  }

◆ setDestination()

void org.turro.contacts.RelatedPathsPK.setDestination ( String  destination)

Definition at line 34 of file RelatedPathsPK.java.

34  {
35  this.destination = destination;
36  }

◆ setOrigin()

void org.turro.contacts.RelatedPathsPK.setOrigin ( String  origin)

Definition at line 42 of file RelatedPathsPK.java.

42  {
43  this.origin = origin;
44  }

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