git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
provided interface now sets its own unique id.
[utils]
/
trunk
/
mythtv
/
monitor
/
src
/
main
/
java
/
org
/
wamblee
/
mythtv
/
RecordingPk.java
diff --git
a/trunk/mythtv/monitor/src/main/java/org/wamblee/mythtv/RecordingPk.java
b/trunk/mythtv/monitor/src/main/java/org/wamblee/mythtv/RecordingPk.java
index da06d3d0d8dda0afdd386ce349117a1f4a45e343..40ffd078796286a75db41eea6faa8cf6e7d290d8 100644
(file)
--- a/
trunk/mythtv/monitor/src/main/java/org/wamblee/mythtv/RecordingPk.java
+++ b/
trunk/mythtv/monitor/src/main/java/org/wamblee/mythtv/RecordingPk.java
@@
-29,6
+29,8
@@
import javax.persistence.TemporalType;
/**
*
/**
*
+ *
+ * @author Erik Brakkee
*/
@Embeddable
public class RecordingPk implements Serializable {
*/
@Embeddable
public class RecordingPk implements Serializable {
@@
-93,4
+95,12
@@
public class RecordingPk implements Serializable {
public int hashCode() {
return _channel.hashCode() + _starttime.hashCode();
}
public int hashCode() {
return _channel.hashCode() + _starttime.hashCode();
}
+
+ /* (non-Javadoc)
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ return "pk(" + _channel + ", " + _starttime + ")";
+ }
}
}