edu.iastate.metnet.hibernate
Class AbstractEntity

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

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

A class that represents a row in the entity table. You can customize the behavior of this class by editing the class, Entity(). 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
AbstractEntity()
          Simple constructor of AbstractEntity instances.
AbstractEntity(java.lang.Integer entityid)
          Constructor of AbstractEntity instances given a simple 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.
 java.util.Date getDate()
          Return the value of the Date column.
 java.lang.Integer getEntityid()
          Return the simple primary key value that identifies this object.
 java.lang.String getName()
          Return the value of the Name column.
 java.lang.String getOrganism()
          Return the value of the Organism column.
 java.lang.String getSource()
          Return the value of the Source column.
 java.lang.String getType()
          Return the value of the Type column.
 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 setDate(java.util.Date date)
          Set the value of the Date column.
 void setEntityid(java.lang.Integer entityid)
          Set the simple primary key value that identifies this object.
 void setName(java.lang.String name)
          Set the value of the Name column.
 void setOrganism(java.lang.String organism)
          Set the value of the Organism column.
 void setSource(java.lang.String source)
          Set the value of the Source column.
 void setType(java.lang.String type)
          Set the value of the Type column.
 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

AbstractEntity

public AbstractEntity()
Simple constructor of AbstractEntity instances.


AbstractEntity

public AbstractEntity(java.lang.Integer entityid)
Constructor of AbstractEntity instances given a simple primary key.

Parameters:
entityid -
Method Detail

getEntityid

public java.lang.Integer getEntityid()
Return the simple primary key value that identifies this object.

Returns:
java.lang.Integer

setEntityid

public void setEntityid(java.lang.Integer entityid)
Set the simple primary key value that identifies this object.

Parameters:
entityid -

getName

public java.lang.String getName()
Return the value of the Name column.

Returns:
java.lang.String

setName

public void setName(java.lang.String name)
Set the value of the Name column.

Parameters:
name -

getType

public java.lang.String getType()
Return the value of the Type column.

Returns:
java.lang.String

setType

public void setType(java.lang.String type)
Set the value of the Type column.

Parameters:
type -

getOrganism

public java.lang.String getOrganism()
Return the value of the Organism column.

Returns:
java.lang.String

setOrganism

public void setOrganism(java.lang.String organism)
Set the value of the Organism column.

Parameters:
organism -

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 -

getDate

public java.util.Date getDate()
Return the value of the Date column.

Returns:
java.util.Date

setDate

public void setDate(java.util.Date date)
Set the value of the Date column.

Parameters:
date -

getSource

public java.lang.String getSource()
Return the value of the Source column.

Returns:
java.lang.String

setSource

public void setSource(java.lang.String source)
Set the value of the Source column.

Parameters:
source -

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