edu.iastate.metnet.dao
Class HistoryInformation

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

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

contain the history information, such as the blockid, recordid for undelete, name if deleted and other information for display

Author:
Jie Li
See Also:
Serialized Form

Field Summary
(package private)  java.util.Date actionTime
          when it is done
(package private)  java.lang.String actionType
          insert, delete or modify
(package private)  java.lang.String biologicalType
          live entity, interaction or pathway
(package private)  java.lang.Integer blockId
          blockid of the data
(package private)  java.lang.String description
          additional information
(package private)  java.lang.String name
          name of the data
(package private)  java.lang.Integer recordId
          record id of the data
(package private)  java.lang.String username
          who do this
 
Constructor Summary
HistoryInformation()
          default constructor
 
Method Summary
 java.util.Date getActionTime()
           
 java.lang.String getActionType()
           
 java.lang.String getBiologicalType()
           
 java.lang.Integer getBlockId()
           
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 java.lang.Integer getRecordId()
           
 java.lang.String getUsername()
           
 void setActionTime(java.util.Date actionTime)
           
 void setActionType(java.lang.String actionType)
           
 void setBiologicalType(java.lang.String biologicalType)
           
 void setBlockId(java.lang.Integer blockId)
           
 void setDescription(java.lang.String description)
           
 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 data


recordId

java.lang.Integer recordId
record id of the data


name

java.lang.String name
name of the data


username

java.lang.String username
who do this


actionTime

java.util.Date actionTime
when it is done


actionType

java.lang.String actionType
insert, delete or modify


biologicalType

java.lang.String biologicalType
live entity, interaction or pathway


description

java.lang.String description
additional information

Constructor Detail

HistoryInformation

public HistoryInformation()
default constructor

Method Detail

getActionTime

public java.util.Date getActionTime()
Returns:
the actionTime

setActionTime

public void setActionTime(java.util.Date actionTime)
Parameters:
actionTime - the actionTime to set

getActionType

public java.lang.String getActionType()
Returns:
the actionType

setActionType

public void setActionType(java.lang.String actionType)
Parameters:
actionType - the actionType to set

getBiologicalType

public java.lang.String getBiologicalType()
Returns:
the biologicalType

setBiologicalType

public void setBiologicalType(java.lang.String biologicalType)
Parameters:
biologicalType - the biologicalType to set

getBlockId

public java.lang.Integer getBlockId()
Returns:
the blockId

setBlockId

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

getDescription

public java.lang.String getDescription()
Returns:
the description

setDescription

public void setDescription(java.lang.String description)
Parameters:
description - the description 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

getRecordId

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

setRecordId

public void setRecordId(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