At line 55 added 102 lines. |
/** |
* @return Returns the id. |
* |
* @hibernate.id column="entry_id" generator-class="native" |
* unsaved-value="null" |
*/ |
public Long getId() { |
return id; |
} |
|
/** |
* @param id |
* The id to set. |
*/ |
public void setId(Long id) { |
this.id = id; |
} |
|
/** |
* @return Returns the text. |
* |
* @hibernate.property column="text" |
*/ |
public String getText() { |
return text; |
} |
|
/** |
* @param text |
* The text to set. |
*/ |
public void setText(String text) { |
this.text = text; |
} |
|
/** |
* @return Returns the timeCreated. |
* |
* @hibernate.property column="time_create" |
*/ |
public Date getTimeCreated() { |
return timeCreated; |
} |
|
/** |
* @param timeCreated |
* The timeCreated to set. |
*/ |
public void setTimeCreated(Date timeCreated) { |
this.timeCreated = timeCreated; |
} |
|
/** |
* @return Returns the version. |
* |
* @hibernate.version |
*/ |
public Integer getVersion() { |
return version; |
} |
|
/** |
* @param version |
* The version to set. |
*/ |
public void setVersion(Integer version) { |
this.version = version; |
} |
|
/** |
* @see java.lang.Object#equals(Object) |
*/ |
public boolean equals(Object object) { |
if (!(object instanceof Entry)) { |
return false; |
} |
Entry rhs = (Entry) object; |
return new EqualsBuilder().append(this.text, rhs.text).append( |
this.timeCreated, rhs.timeCreated).append(this.id, rhs.id) |
.append(this.version, rhs.version).isEquals(); |
} |
|
/** |
* @see java.lang.Object#hashCode() |
*/ |
public int hashCode() { |
return new HashCodeBuilder(-880342185, -1668369001).append(this.text) |
.append(this.timeCreated).append(this.id).append(this.version) |
.toHashCode(); |
} |
|
/** |
* @see java.lang.Object#toString() |
*/ |
public String toString() { |
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) |
.append("text", this.text).append("id", this.id).append( |
"version", this.version).append("timeCreated", |
this.timeCreated).toString(); |
} |
|
} |