edu.iastate.metnet.dao
Class HistoryBlockunitImpl

java.lang.Object
  extended by edu.iastate.metnet.dao.HistoryBlockunitImpl
All Implemented Interfaces:
HistoryBlockunit, java.io.Serializable

public class HistoryBlockunitImpl
extends java.lang.Object
implements HistoryBlockunit, java.io.Serializable

an implementationo of the historyblockunit for version check

Author:
Jie Li
See Also:
Serialized Form

Field Summary
(package private)  java.lang.Integer blockId
          blockid of the blockunit
(package private)  java.util.Date insertTime
          insert time
(package private)  java.lang.String name
          blockunit name
(package private)  java.lang.Integer recordId
          record if of the history
(package private)  java.lang.String username
          user name
 
Constructor Summary
HistoryBlockunitImpl()
           
 
Method Summary
 java.lang.Integer getBlockId()
          get the blockid
 java.util.Date getInsertTime()
          get the insert time
 java.lang.String getName()
          get the name of the history stuff
 java.lang.Integer getRecordId()
          get the record id
 java.lang.String getUsername()
          get the user name
 void setBlockId(java.lang.Integer blockId)
           
 void setInsertTime(java.util.Date insertTime)
           
 void setName(java.lang.String name)
           
 void setRecordId(java.lang.Integer recordId)
           
 void setUsername(java.lang.String username)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

blockId

java.lang.Integer blockId
blockid of the blockunit


recordId

java.lang.Integer recordId
record if of the history


name

java.lang.String name
blockunit name


username

java.lang.String username
user name


insertTime

java.util.Date insertTime
insert time

Constructor Detail

HistoryBlockunitImpl

public HistoryBlockunitImpl()
Method Detail

getBlockId

public java.lang.Integer getBlockId()
Description copied from interface: HistoryBlockunit
get the blockid

Specified by:
getBlockId in interface HistoryBlockunit
Returns:
the blockid

getInsertTime

public java.util.Date getInsertTime()
Description copied from interface: HistoryBlockunit
get the insert time

Specified by:
getInsertTime in interface HistoryBlockunit
Returns:
the insert time

getName

public java.lang.String getName()
Description copied from interface: HistoryBlockunit
get the name of the history stuff

Specified by:
getName in interface HistoryBlockunit
Returns:
the history name

getRecordId

public java.lang.Integer getRecordId()
Description copied from interface: HistoryBlockunit
get the record id

Specified by:
getRecordId in interface HistoryBlockunit
Returns:
the record id

getUsername

public java.lang.String getUsername()
Description copied from interface: HistoryBlockunit
get the user name

Specified by:
getUsername in interface HistoryBlockunit
Returns:
the user name

setBlockId

public void setBlockId(java.lang.Integer blockId)
Parameters:
blockId - the blockId to set

setInsertTime

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

setName

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

setRecordId

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

setUsername

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