KickJava   Java API By Example, From Geeks To Geeks.

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


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
29 public class ContentTypeDefinitionVO implements BaseEntityVO
30 {
31
32     public static final Integer JavaDoc CONTENT = new Integer JavaDoc(0);
33     public static final Integer JavaDoc EXTRANET_ROLE_PROPERTIES = new Integer JavaDoc(1);
34     public static final Integer JavaDoc EXTRANET_USER_PROPERTIES = new Integer JavaDoc(2);
35     public static final Integer JavaDoc EXTRANET_GROUP_PROPERTIES = new Integer JavaDoc(3);
36
37     private java.lang.Integer JavaDoc contentTypeDefinitionId;
38     private java.lang.String JavaDoc name;
39     private java.lang.String JavaDoc schemaValue;
40     private java.lang.Integer JavaDoc type = CONTENT;
41   
42   
43     /**
44      * @see org.infoglue.cms.entities.kernel.BaseEntityVO#getId()
45      */

46     
47     public Integer JavaDoc getId()
48     {
49         return getContentTypeDefinitionId();
50     }
51
52     
53     public java.lang.Integer JavaDoc getContentTypeDefinitionId()
54     {
55         return this.contentTypeDefinitionId;
56     }
57                 
58     public void setContentTypeDefinitionId(java.lang.Integer JavaDoc contentTypeDefinitionId)
59     {
60         this.contentTypeDefinitionId = contentTypeDefinitionId;
61     }
62     
63     public java.lang.String JavaDoc getName()
64     {
65         return this.name;
66     }
67                 
68     public void setName(java.lang.String JavaDoc name)
69     {
70         this.name = name;
71     }
72     
73     public java.lang.String JavaDoc getSchemaValue()
74     {
75         return this.schemaValue;
76     }
77                 
78     public void setSchemaValue(java.lang.String JavaDoc schemaValue)
79     {
80         this.schemaValue = schemaValue;
81     }
82     
83     public java.lang.Integer JavaDoc getType()
84     {
85         return type;
86     }
87
88     public void setType(java.lang.Integer JavaDoc type)
89     {
90         this.type = type;
91     }
92
93     /**
94      * @see org.infoglue.cms.entities.kernel.BaseEntityVO#validate()
95      */

96     
97     public ConstraintExceptionBuffer validate()
98     {
99         return null;
100     }
101 }
102         
103
Popular Tags