KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > infoglue > cms > entities > publishing > impl > simple > PublicationDetailImpl


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.publishing.impl.simple;
25
26 import org.infoglue.cms.entities.kernel.BaseEntityVO;
27 import org.infoglue.cms.entities.publishing.PublicationDetail;
28 import org.infoglue.cms.entities.publishing.PublicationDetailVO;
29
30 public class PublicationDetailImpl implements PublicationDetail
31 {
32     private PublicationDetailVO valueObject = new PublicationDetailVO();
33     private org.infoglue.cms.entities.publishing.impl.simple.PublicationImpl publication;
34      
35     public PublicationDetailVO getValueObject()
36     {
37         return this.valueObject;
38     }
39       
40     public Object JavaDoc getIdAsObject()
41     {
42         return getId();
43     }
44   
45     public void setValueObject(PublicationDetailVO valueObject)
46     {
47         this.valueObject = valueObject;
48     }
49     
50     public java.lang.Integer JavaDoc getPublicationDetailId()
51     {
52         return this.valueObject.getPublicationDetailId();
53     }
54             
55     public void setPublicationDetailId(java.lang.Integer JavaDoc publicationDetailId)
56     {
57         this.valueObject.setPublicationDetailId(publicationDetailId);
58     }
59       
60     public java.lang.String JavaDoc getName()
61     {
62         return this.valueObject.getName();
63     }
64             
65     public void setName(java.lang.String JavaDoc name)
66     {
67         this.valueObject.setName(name);
68     }
69
70     public java.lang.String JavaDoc getDescription()
71     {
72         return this.valueObject.getDescription();
73     }
74             
75     public void setDescription(java.lang.String JavaDoc description)
76     {
77         this.valueObject.setDescription(description);
78     }
79
80     public java.lang.String JavaDoc getEntityClass()
81     {
82         return this.valueObject.getEntityClass();
83     }
84             
85     public void setEntityClass(java.lang.String JavaDoc entityClass)
86     {
87         this.valueObject.setEntityClass(entityClass);
88     }
89
90     public java.lang.Integer JavaDoc getEntityId()
91     {
92         return this.valueObject.getEntityId();
93     }
94             
95     public void setEntityId(java.lang.Integer JavaDoc entityId)
96     {
97         this.valueObject.setEntityId(entityId);
98     }
99
100     public java.lang.Integer JavaDoc getTypeId()
101     {
102         return this.valueObject.getTypeId();
103     }
104             
105     public void setTypeId(java.lang.Integer JavaDoc typeId)
106     {
107         this.valueObject.setTypeId(typeId);
108     }
109       
110     public java.util.Date JavaDoc getCreationDateTime()
111     {
112         return this.valueObject.getCreationDateTime();
113     }
114             
115     public void setCreationDateTime(java.util.Date JavaDoc creationDateTime)
116     {
117         this.valueObject.setCreationDateTime(creationDateTime);
118     }
119     
120     public String JavaDoc getCreator()
121     {
122         return this.valueObject.getCreator();
123     }
124             
125     public void setCreator (String JavaDoc creator)
126     {
127         this.valueObject.setCreator(creator);
128     }
129
130     public org.infoglue.cms.entities.publishing.impl.simple.PublicationImpl getPublication()
131     {
132         return this.publication;
133     }
134             
135     public void setPublication(org.infoglue.cms.entities.publishing.impl.simple.PublicationImpl publication)
136     {
137         this.publication = publication;
138     }
139       
140
141
142     /**
143      * @see org.infoglue.cms.entities.kernel.BaseEntity#getVO()
144      */

145     public BaseEntityVO getVO()
146     {
147         return (BaseEntityVO) getValueObject();
148     }
149
150     /**
151      * @see org.infoglue.cms.entities.kernel.BaseEntity#setVO(BaseEntityVO)
152      */

153     public void setVO(BaseEntityVO valueObject)
154     {
155         setValueObject((PublicationDetailVO) valueObject);
156     }
157  
158     /**
159      * @see org.infoglue.cms.entities.kernel.BaseEntity#getId()
160      */

161     public Integer JavaDoc getId()
162     {
163         return getPublicationDetailId();
164     }
165
166   }
167
Popular Tags