KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > infoglue > cms > entities > management > TransactionHistoryVO


1 /* ===============================================================================
2  *
3  * Part of the InfoGlue Content Management Platform (www.infoglue.org)
4  *
5  * ===============================================================================
6  *
7  * Copyright (C)
8  *
9  * This program is free software; you can redistribute it and/or modify it under
10  * the terms of the GNU General Public License version 2, as published by the
11  * Free Software Foundation. See the file LICENSE.html for more information.
12  *
13  * This program is distributed in the hope that it will be useful, but WITHOUT
14  * ANY WARRANTY, including the implied warranty of MERCHANTABILITY or FITNESS
15  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License along with
18  * this program; if not, write to the Free Software Foundation, Inc. / 59 Temple
19  * Place, Suite 330 / Boston, MA 02111-1307 / USA.
20  *
21  * ===============================================================================
22  */

23
24 package org.infoglue.cms.entities.management;
25
26 import org.infoglue.cms.entities.kernel.BaseEntityVO;
27 import org.infoglue.cms.util.ConstraintExceptionBuffer;
28 import org.infoglue.cms.util.NotificationMessage;
29
30 public class TransactionHistoryVO implements BaseEntityVO
31 {
32
33     private java.lang.Integer JavaDoc transactionHistoryId;
34     private java.lang.String JavaDoc name;
35     private java.util.Date JavaDoc transactionDateTime;
36     private java.lang.Integer JavaDoc transactionTypeId;
37     private java.lang.String JavaDoc transactionObjectId;
38     private java.lang.String JavaDoc transactionObjectName;
39     private java.lang.String JavaDoc systemUserName;
40     
41     /**
42      * @see org.infoglue.cms.entities.kernel.BaseEntityVO#getId()
43      */

44     public Integer JavaDoc getId() {
45         return getTransactionHistoryId();
46     }
47
48
49     public java.lang.Integer JavaDoc getTransactionHistoryId()
50     {
51         return this.transactionHistoryId;
52     }
53                 
54     public void setTransactionHistoryId(java.lang.Integer JavaDoc transactionHistoryId)
55     {
56         this.transactionHistoryId = transactionHistoryId;
57     }
58     
59     public java.lang.String JavaDoc getName()
60     {
61         return this.name;
62     }
63                 
64     public void setName(java.lang.String JavaDoc name)
65     {
66         this.name = name;
67     }
68     
69     public java.util.Date JavaDoc getTransactionDateTime()
70     {
71         return this.transactionDateTime;
72     }
73                 
74     public void setTransactionDateTime(java.util.Date JavaDoc transactionDateTime)
75     {
76         this.transactionDateTime = transactionDateTime;
77     }
78     
79     public String JavaDoc getTransactionTypeName()
80     {
81         return NotificationMessage.getTransactionTypeName(getTransactionTypeId());
82     }
83
84     public java.lang.Integer JavaDoc getTransactionTypeId()
85     {
86         return this.transactionTypeId;
87     }
88                 
89     public void setTransactionTypeId(java.lang.Integer JavaDoc transactionTypeId)
90     {
91         this.transactionTypeId = transactionTypeId;
92     }
93     
94     public java.lang.String JavaDoc getTransactionObjectId()
95     {
96         return this.transactionObjectId;
97     }
98                 
99     public void setTransactionObjectId(java.lang.String JavaDoc transactionObjectId)
100     {
101         this.transactionObjectId = transactionObjectId;
102     }
103     
104     public java.lang.String JavaDoc getTransactionObjectName()
105     {
106         return this.transactionObjectName;
107     }
108                 
109     public void setTransactionObjectName(java.lang.String JavaDoc transactionObjectName)
110     {
111         this.transactionObjectName = transactionObjectName;
112     }
113
114     public java.lang.String JavaDoc getSystemUserName()
115     {
116         return this.systemUserName;
117     }
118                 
119     public void setSystemUserName(java.lang.String JavaDoc systemUserName)
120     {
121         this.systemUserName = systemUserName;
122     }
123     /**
124      * @see org.infoglue.cms.entities.kernel.BaseEntityVO#validate()
125      */

126     public ConstraintExceptionBuffer validate() {
127         return new ConstraintExceptionBuffer();
128     }
129     
130 }
131         
132
Popular Tags