KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > infoglue > cms > entities > content > impl > simple > TinyContentVersionImpl


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.content.impl.simple;
25
26 import org.infoglue.cms.entities.content.TinyContentVersion;
27 import org.infoglue.cms.entities.content.TinyContentVersionVO;
28 import org.infoglue.cms.entities.kernel.BaseEntityVO;
29
30 public class TinyContentVersionImpl implements TinyContentVersion
31 {
32     private TinyContentVersionVO valueObject = new TinyContentVersionVO();
33      
34      
35     /**
36      * @see org.infoglue.cms.entities.kernel.BaseEntity#getVO()
37      */

38     public BaseEntityVO getVO()
39     {
40         return (BaseEntityVO) getValueObject();
41     }
42     public void setVO(BaseEntityVO valueObject)
43     {
44         setValueObject((TinyContentVersionVO) valueObject);
45     }
46     public Integer JavaDoc getId()
47     {
48         return getTinyContentVersionId();
49     }
50     
51     public Object JavaDoc getIdAsObject()
52     {
53         return getId();
54     }
55     
56     public TinyContentVersionVO getValueObject()
57     {
58         return this.valueObject;
59     }
60     
61     public void setValueObject(TinyContentVersionVO valueObject)
62     {
63         this.valueObject = valueObject;
64     }
65
66     public Integer JavaDoc getTinyContentVersionId()
67     {
68         return this.getTinyContentVersionId();
69     }
70     
71     public Integer JavaDoc getLanguageId()
72     {
73         return this.getLanguageId();
74     }
75     public String JavaDoc getTitle(){
76         return this.getTitle();
77     }
78     public void setTinyContentVersionId(Integer JavaDoc i)
79     {
80         this.setTinyContentVersionId(i);
81     }
82     public void setLanguageId(Integer JavaDoc i)
83     {
84         this.setLanguageId(i);
85     }
86     public void setScore(double s)
87     {
88         this.setScore(s);
89     }
90     public double getScore()
91     {
92         return this.getScore();
93     }
94     public void setTitle(String JavaDoc s)
95     {
96         this.setTitle(s);
97     }
98     public void setScoreImg(String JavaDoc s)
99     {
100         this.setScoreImg(s);
101     }
102     public String JavaDoc getScoreImg()
103     {
104         return this.getScoreImg();
105     }
106     public void setContentTitle(String JavaDoc t)
107     {
108         this.setContentTitle(t);
109     }
110     public void setRepositoryName(String JavaDoc r){this.setRepositoryName(r);}
111     public void setRepositoryId(int i){this.setRepositoryId(i);}
112     public String JavaDoc getContentTitle(){return this.getContentTitle();}
113     public String JavaDoc getRepositoryName(){return this.getRepositoryName();}
114     public int getRepositoryId(){return this.getRepositoryId();}
115     public String JavaDoc getType(){return this.getType();}
116     public void setType(String JavaDoc t){this.setType(t);}
117
118     
119   }
120
Popular Tags