KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > infoglue > cms > entities > content > TinyContentVersionVO


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;
25
26 import org.infoglue.cms.entities.kernel.BaseEntityVO;
27 import org.infoglue.cms.util.ConstraintExceptionBuffer;
28
29 public class TinyContentVersionVO implements BaseEntityVO
30 {
31
32     public Integer JavaDoc getId()
33     {
34         return getTinyContentVersionId();
35     }
36     public ConstraintExceptionBuffer validate()
37     {
38         return null;
39     }
40     
41
42     Integer JavaDoc id;
43     Integer JavaDoc languageId;
44     double score;
45     String JavaDoc scoreImg;
46     String JavaDoc title;
47     String JavaDoc contentTitle;
48     String JavaDoc repositoryName;
49     int repositoryId;
50     String JavaDoc type;
51
52     //Getters
53
public Integer JavaDoc getTinyContentVersionId(){return this.id;}
54     public Integer JavaDoc getLanguageId(){return this.languageId;}
55     public double getScore(){return this.score;}
56     public String JavaDoc getScoreImg(){return this.scoreImg;}
57     public String JavaDoc getTitle(){return this.title;}
58     public String JavaDoc getContentTitle(){return this.contentTitle;}
59     public String JavaDoc getRepositoryName(){return this.repositoryName;}
60     public int getRepositoryId(){return this.repositoryId;}
61     public String JavaDoc getType(){return this.type;}
62
63     
64     //Setters
65
public void setTinyContentVersionId(Integer JavaDoc i){this.id=i;}
66     public void setLanguageId(Integer JavaDoc i){this.languageId=i;}
67     public void setScore(double s){this.score=s;}
68     public void setScoreImg(String JavaDoc s){this.scoreImg=s;}
69     public void setTitle(String JavaDoc t){this.title=t;}
70     public void setContentTitle(String JavaDoc t){this.contentTitle = t;}
71     public void setRepositoryName(String JavaDoc r){this.repositoryName = r;}
72     public void setRepositoryId(int i){this.repositoryId = i;}
73     public void setType(String JavaDoc t){this.type = t;}
74 }
75         
76
Popular Tags