KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > infoglue > cms > entities > management > impl > simple > TransactionHistoryImpl


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.impl.simple;
25
26 import org.infoglue.cms.entities.kernel.BaseEntityVO;
27 import org.infoglue.cms.entities.management.TransactionHistory;
28 import org.infoglue.cms.entities.management.TransactionHistoryVO;
29
30 public class TransactionHistoryImpl implements TransactionHistory
31 {
32     /**
33      * @see org.infoglue.cms.entities.kernel.BaseEntity#getId()
34      */

35     public Integer JavaDoc getId()
36     {
37         return getTransactionHistoryId();
38     }
39
40     public Object JavaDoc getIdAsObject()
41     {
42         return getId();
43     }
44
45     private TransactionHistoryVO valueObject = new TransactionHistoryVO();
46      
47     public TransactionHistoryVO getValueObject()
48     {
49         return this.valueObject;
50     }
51
52         
53     public void setValueObject(TransactionHistoryVO valueObject)
54     {
55         this.valueObject = valueObject;
56     }
57     /**
58      * @see org.infoglue.cms.entities.kernel.BaseEntity#getVO()
59      */

60     public BaseEntityVO getVO()
61     {
62         return (BaseEntityVO) getValueObject();
63     }
64     /**
65      * @see org.infoglue.cms.entities.kernel.BaseEntity#setVO(BaseEntityVO)
66      */

67     public void setVO(BaseEntityVO valueObject)
68     {
69         setValueObject((TransactionHistoryVO) valueObject);
70     }
71
72     private org.infoglue.cms.entities.management.impl.simple.SystemUserImpl user;
73   
74     
75     public java.lang.Integer JavaDoc getTransactionHistoryId()
76     {
77         return this.valueObject.getTransactionHistoryId();
78     }
79             
80     public void setTransactionHistoryId(java.lang.Integer JavaDoc transactionHistoryId)
81     {
82         this.valueObject.setTransactionHistoryId(transactionHistoryId);
83     }
84       
85     public java.lang.String JavaDoc getName()
86     {
87         return this.valueObject.getName();
88     }
89             
90     public void setName(java.lang.String JavaDoc name)
91     {
92         this.valueObject.setName(name);
93     }
94       
95     public java.util.Date JavaDoc getTransactionDateTime()
96     {
97         return this.valueObject.getTransactionDateTime();
98     }
99             
100     public void setTransactionDateTime(java.util.Date JavaDoc transactionDateTime)
101     {
102         this.valueObject.setTransactionDateTime(transactionDateTime);
103     }
104       
105     public java.lang.Integer JavaDoc getTransactionTypeId()
106     {
107         return this.valueObject.getTransactionTypeId();
108     }
109             
110     public void setTransactionTypeId(java.lang.Integer JavaDoc transactionTypeId)
111     {
112         this.valueObject.setTransactionTypeId(transactionTypeId);
113     }
114       
115     public java.lang.String JavaDoc getTransactionObjectId()
116     {
117         return this.valueObject.getTransactionObjectId();
118     }
119             
120     public void setTransactionObjectId(java.lang.String JavaDoc transactionObjectId)
121     {
122         this.valueObject.setTransactionObjectId(transactionObjectId);
123     }
124       
125     public java.lang.String JavaDoc getTransactionObjectName()
126     {
127         return this.valueObject.getTransactionObjectName();
128     }
129             
130     public void setTransactionObjectName(java.lang.String JavaDoc transactionObjectName)
131     {
132         this.valueObject.setTransactionObjectName(transactionObjectName);
133     }
134       
135     public java.lang.String JavaDoc getSystemUserName()
136     {
137         return this.valueObject.getSystemUserName();
138     }
139             
140     public void setSystemUserName (java.lang.String JavaDoc systemUserName)
141     {
142         this.valueObject.setSystemUserName(systemUserName);
143     }
144
145 }
146
Popular Tags