object.common
Class Journal

java.lang.Object
  extended by object.common.Journal
All Implemented Interfaces:
java.io.Serializable

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

Description
Journal object
Infos : KLB - IPMC - 02/2005

See Also:
Serialized Form

Field Summary
private  java.lang.String action
          Action performed by the User
private  java.lang.String comments
          Comments added by the User cocnerning the action performed
private  java.util.Date date
          Date of this Journal Object
private  int order_id
          ID of Order Object related to this journal Object
private  int user_id
          ID of User owner of this journal Object
 
Constructor Summary
Journal()
          Default constructor
Journal(int order_id, java.util.Date date, int user_id, java.lang.String action, java.lang.String comments)
           
 
Method Summary
 java.lang.String getAction()
          Action performed by the User
 java.lang.String getComments()
          Comments added by the User cocnerning the action performed
 java.util.Date getDate()
          Date of this Journal Object
 int getOrder_id()
          ID of order_id Object related to this journal Object
 int getUser_id()
          ID of User owner of this journal Object
 void save()
          This function save this Journal Object into database.
 void setAction(java.lang.String action)
           
 void setComments(java.lang.String comments)
           
 void setDate(java.util.Date date)
           
 void setOrder_id(int order_id)
           
 void setUser_id(int user_id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

order_id

private int order_id
ID of Order Object related to this journal Object


date

private java.util.Date date
Date of this Journal Object


user_id

private int user_id
ID of User owner of this journal Object


action

private java.lang.String action
Action performed by the User


comments

private java.lang.String comments
Comments added by the User cocnerning the action performed

Constructor Detail

Journal

public Journal()
Default constructor


Journal

public Journal(int order_id,
               java.util.Date date,
               int user_id,
               java.lang.String action,
               java.lang.String comments)
Method Detail

getOrder_id

public int getOrder_id()
ID of order_id Object related to this journal Object


setOrder_id

public void setOrder_id(int order_id)

getDate

public java.util.Date getDate()
Date of this Journal Object


setDate

public void setDate(java.util.Date date)

getUser_id

public int getUser_id()
ID of User owner of this journal Object


setUser_id

public void setUser_id(int user_id)

getAction

public java.lang.String getAction()
Action performed by the User


setAction

public void setAction(java.lang.String action)

getComments

public java.lang.String getComments()
Comments added by the User cocnerning the action performed


setComments

public void setComments(java.lang.String comments)

save

public void save()
This function save this Journal Object into database.