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

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 25 of file RelatedPK.java.

Member Function Documentation

◆ equals()

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

Definition at line 48 of file RelatedPK.java.

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

◆ getDestination()

String org.turro.elephant.entities.db.RelatedPK.getDestination ( )

Definition at line 31 of file RelatedPK.java.

31  {
32  return destination;
33  }

◆ getOrigin()

String org.turro.elephant.entities.db.RelatedPK.getOrigin ( )

Definition at line 39 of file RelatedPK.java.

39  {
40  return origin;
41  }

◆ hashCode()

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

Definition at line 66 of file RelatedPK.java.

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

◆ setDestination()

void org.turro.elephant.entities.db.RelatedPK.setDestination ( String  destination)

Definition at line 35 of file RelatedPK.java.

35  {
36  this.destination = destination;
37  }

◆ setOrigin()

void org.turro.elephant.entities.db.RelatedPK.setOrigin ( String  origin)

Definition at line 43 of file RelatedPK.java.

43  {
44  this.origin = origin;
45  }

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