BrightSide Workbench Full Report + Source Code
org.turro.financials.pos.CashRegisterPK Class Reference
Inheritance diagram for org.turro.financials.pos.CashRegisterPK:
Collaboration diagram for org.turro.financials.pos.CashRegisterPK:

Public Member Functions

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 30 of file CashRegisterPK.java.

Member Function Documentation

◆ equals()

boolean org.turro.financials.pos.CashRegisterPK.equals ( Object  obj)

Definition at line 46 of file CashRegisterPK.java.

46  {
47  if (this == obj) {
48  return true;
49  }
50  if (obj == null) {
51  return false;
52  }
53  if (getClass() != obj.getClass()) {
54  return false;
55  }
56  final CashRegisterPK other = (CashRegisterPK) obj;
57  if (this.pos != other.pos) {
58  return false;
59  }
60  if (!Objects.equals(this.contract, other.contract)) {
61  return false;
62  }
63  return Objects.equals(this.registerDate, other.registerDate);
64  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ hashCode()

int org.turro.financials.pos.CashRegisterPK.hashCode ( )

Definition at line 37 of file CashRegisterPK.java.

37  {
38  int hash = 7;
39  hash = 79 * hash + Objects.hashCode(this.contract);
40  hash = 79 * hash + this.pos;
41  hash = 79 * hash + Objects.hashCode(this.registerDate);
42  return hash;
43  }

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