edu.iastate.metnet.hibernate
Class AbstractEntitycomment

java.lang.Object
  extended by edu.iastate.metnet.hibernate.AbstractEntitycomment
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Entitycomment

public abstract class AbstractEntitycomment
extends java.lang.Object
implements java.io.Serializable

A class that represents a row in the entitycomment table. You can customize the behavior of this class by editing the class, Entitycomment(). WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized * by MyEclipse Hibernate tool integration.

See Also:
Serialized Form

Constructor Summary
AbstractEntitycomment()
          Simple constructor of AbstractEntitycomment instances.
AbstractEntitycomment(EntitycommentKey id)
          Constructor of AbstractEntitycomment instances given a composite primary key.
 
Method Summary
 boolean equals(java.lang.Object rhs)
          Implementation of the equals comparison on the basis of equality of the primary key values.
 EntitycommentKey getId()
          Return the composite id instance that identifies this object.
 java.lang.String getUsername()
          Return the value of the Username column.
 int hashCode()
          Implementation of the hashCode method conforming to the Bloch pattern with the exception of array properties (these are very unlikely primary key types).
 void setId(EntitycommentKey id)
          Set the composite id instance that identifies this object.
 void setUsername(java.lang.String username)
          Set the value of the Username column.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractEntitycomment

public AbstractEntitycomment()
Simple constructor of AbstractEntitycomment instances.


AbstractEntitycomment

public AbstractEntitycomment(EntitycommentKey id)
Constructor of AbstractEntitycomment instances given a composite primary key.

Parameters:
id -
Method Detail

getId

public EntitycommentKey getId()
Return the composite id instance that identifies this object.

Returns:
EntitycommentKey

setId

public void setId(EntitycommentKey id)
Set the composite id instance that identifies this object.

Parameters:
id -

getUsername

public java.lang.String getUsername()
Return the value of the Username column.

Returns:
java.lang.String

setUsername

public void setUsername(java.lang.String username)
Set the value of the Username column.

Parameters:
username -

equals

public boolean equals(java.lang.Object rhs)
Implementation of the equals comparison on the basis of equality of the primary key values.

Overrides:
equals in class java.lang.Object
Parameters:
rhs -
Returns:
boolean

hashCode

public int hashCode()
Implementation of the hashCode method conforming to the Bloch pattern with the exception of array properties (these are very unlikely primary key types).

Overrides:
hashCode in class java.lang.Object
Returns:
int