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

Public Member Functions

String getEntityPath ()
 
void setEntityPath (String entityPath)
 
String getTrackedPath ()
 
void setTrackedPath (String trackedPath)
 
Date getTimeTrack ()
 
void setTimeTrack (Date timeTrack)
 
int hashCode ()
 
boolean equals (Object obj)
 

Static Public Member Functions

static TimeTrackerPK from (TimeTracker tt)
 

Detailed Description

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

Definition at line 29 of file TimeTrackerPK.java.

Member Function Documentation

◆ equals()

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

Definition at line 69 of file TimeTrackerPK.java.

69  {
70  if (this == obj) {
71  return true;
72  }
73  if (obj == null) {
74  return false;
75  }
76  if (getClass() != obj.getClass()) {
77  return false;
78  }
79  final TimeTrackerPK other = (TimeTrackerPK) obj;
80  if (!Objects.equals(this.entityPath, other.entityPath)) {
81  return false;
82  }
83  if (!Objects.equals(this.trackedPath, other.trackedPath)) {
84  return false;
85  }
86  if (!Objects.equals(this.timeTrack, other.timeTrack)) {
87  return false;
88  }
89  return true;
90  }

◆ from()

static TimeTrackerPK org.turro.elephant.entities.db.TimeTrackerPK.from ( TimeTracker  tt)
static

Definition at line 94 of file TimeTrackerPK.java.

94  {
95  TimeTrackerPK pk = new TimeTrackerPK();
96  pk.setEntityPath(tt.getEntityPath());
97  pk.setTrackedPath(tt.getTrackedPath());
98  pk.setTimeTrack(tt.getTimeTrack());
99  return pk;
100  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getEntityPath()

String org.turro.elephant.entities.db.TimeTrackerPK.getEntityPath ( )

Definition at line 35 of file TimeTrackerPK.java.

35  {
36  return entityPath;
37  }

◆ getTimeTrack()

Date org.turro.elephant.entities.db.TimeTrackerPK.getTimeTrack ( )

Definition at line 51 of file TimeTrackerPK.java.

51  {
52  return timeTrack;
53  }

◆ getTrackedPath()

String org.turro.elephant.entities.db.TimeTrackerPK.getTrackedPath ( )

Definition at line 43 of file TimeTrackerPK.java.

43  {
44  return trackedPath;
45  }

◆ hashCode()

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

Definition at line 60 of file TimeTrackerPK.java.

60  {
61  int hash = 5;
62  hash = 53 * hash + Objects.hashCode(this.entityPath);
63  hash = 53 * hash + Objects.hashCode(this.trackedPath);
64  hash = 53 * hash + Objects.hashCode(this.timeTrack);
65  return hash;
66  }

◆ setEntityPath()

void org.turro.elephant.entities.db.TimeTrackerPK.setEntityPath ( String  entityPath)

Definition at line 39 of file TimeTrackerPK.java.

39  {
40  this.entityPath = entityPath;
41  }
Here is the caller graph for this function:

◆ setTimeTrack()

void org.turro.elephant.entities.db.TimeTrackerPK.setTimeTrack ( Date  timeTrack)

Definition at line 55 of file TimeTrackerPK.java.

55  {
56  this.timeTrack = timeTrack;
57  }
Here is the caller graph for this function:

◆ setTrackedPath()

void org.turro.elephant.entities.db.TimeTrackerPK.setTrackedPath ( String  trackedPath)

Definition at line 47 of file TimeTrackerPK.java.

47  {
48  this.trackedPath = trackedPath;
49  }
Here is the caller graph for this function:

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