edu.iastate.metnet.hibernate
Class AbstractClassName

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

public class AbstractClassName
extends java.lang.Object
implements java.io.Serializable

hibernate class

Author:
Jie Li
See Also:
Serialized Form

Constructor Summary
AbstractClassName()
          Simple constructor of AbstractBlockunit instances.
AbstractClassName(java.lang.Integer classId)
          Simple constructor of AbstractBlockunit instances.
 
Method Summary
 boolean equals(java.lang.Object rhs)
          Implementation of the equals comparison on the basis of equality of the primary key values.
 java.lang.String getBiocycId()
           
 java.lang.Integer getClassId()
           
 java.util.Date getInsertTime()
           
 java.lang.String getName()
           
 java.lang.String getSource()
           
 java.lang.String getUsername()
           
 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 setBiocycId(java.lang.String organism)
           
 void setClassId(java.lang.Integer recordId)
           
 void setInsertTime(java.util.Date insertTime)
           
 void setName(java.lang.String name)
           
 void setSource(java.lang.String dataSource)
           
 void setUsername(java.lang.String username)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractClassName

public AbstractClassName()
Simple constructor of AbstractBlockunit instances.


AbstractClassName

public AbstractClassName(java.lang.Integer classId)
Simple constructor of AbstractBlockunit instances.

Parameters:
classId - the record id
Method Detail

getSource

public java.lang.String getSource()
Returns:
the dataSource

setSource

public void setSource(java.lang.String dataSource)
Parameters:
dataSource - the dataSource to set

getInsertTime

public java.util.Date getInsertTime()
Returns:
the insertTime

setInsertTime

public void setInsertTime(java.util.Date insertTime)
Parameters:
insertTime - the insertTime to set

getName

public java.lang.String getName()
Returns:
the name

setName

public void setName(java.lang.String name)
Parameters:
name - the name to set

getBiocycId

public java.lang.String getBiocycId()
Returns:
the organism

setBiocycId

public void setBiocycId(java.lang.String organism)
Parameters:
organism - the organism to set

getClassId

public java.lang.Integer getClassId()
Returns:
the recordId

setClassId

public void setClassId(java.lang.Integer recordId)
Parameters:
recordId - the recordId to set

getUsername

public java.lang.String getUsername()
Returns:
the username

setUsername

public void setUsername(java.lang.String username)
Parameters:
username - the username to set

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 - the other instance
Returns:
boolean true if equal, false if not

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:
hash value