package demo;
public class StoryKey implements java.io.Serializable {
public long id;
public StoryKey() {
}
public StoryKey( long id ) {
this.id = id;
}
public long getId() {
return this.id;
}
public boolean equals( Object o ) {
if( !(o instanceof StoryKey)) return false;
StoryKey other = (StoryKey)o;
boolean eq = true;
eq = eq && (this.id == other.id);
return eq;
}
public int hashCode() {
int hashCode = 0;
hashCode += (int)this.id;
return hashCode;
}
public String toString() {
return ("[StoryKey" +
"/id=" + this.id +
"]");
}
}