KickJava   Java API By Example, From Geeks To Geeks.

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


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.AvailableServiceBindingVO;
28 import org.infoglue.cms.exception.ConstraintException;
29
30 public class SmallAvailableServiceBindingImpl extends AvailableServiceBindingImpl
31 {
32     private AvailableServiceBindingVO valueObject = new AvailableServiceBindingVO();
33
34     public Integer JavaDoc getId()
35     {
36         return this.getAvailableServiceBindingId();
37     }
38
39     public Object JavaDoc getIdAsObject()
40     {
41         return getId();
42     }
43
44     public String JavaDoc toString()
45     {
46         return this.valueObject.toString();
47     }
48      
49     public AvailableServiceBindingVO getValueObject()
50     {
51         return this.valueObject;
52     }
53
54         
55     public void setValueObject(AvailableServiceBindingVO valueObject)
56     {
57         this.valueObject = valueObject;
58     }
59
60     /**
61      * @see org.infoglue.cms.entities.kernel.BaseEntity#getVO()
62      */

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

70     public void setVO(BaseEntityVO valueObject)
71     {
72         setValueObject((AvailableServiceBindingVO) valueObject);
73     }
74     
75     public java.lang.Integer JavaDoc getAvailableServiceBindingId()
76     {
77         return this.valueObject.getAvailableServiceBindingId();
78     }
79             
80     public void setAvailableServiceBindingId(java.lang.Integer JavaDoc availableServiceBindingId)
81     {
82         this.valueObject.setAvailableServiceBindingId(availableServiceBindingId);
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) throws ConstraintException
91     {
92         this.valueObject.setName(name);
93     }
94       
95     public java.lang.String JavaDoc getDescription()
96     {
97         return this.valueObject.getDescription();
98     }
99             
100     public void setDescription(java.lang.String JavaDoc description) throws ConstraintException
101     {
102         this.valueObject.setDescription(description);
103     }
104
105     public java.lang.String JavaDoc getVisualizationAction()
106     {
107         return this.valueObject.getVisualizationAction();
108     }
109             
110     public void setVisualizationAction(java.lang.String JavaDoc visualizationAction) throws ConstraintException
111     {
112         this.valueObject.setVisualizationAction(visualizationAction);
113     }
114     
115      
116     public java.lang.Boolean JavaDoc getIsMandatory()
117     {
118         return this.valueObject.getIsMandatory();
119     }
120             
121     public void setIsMandatory(java.lang.Boolean JavaDoc isMandatory) throws ConstraintException
122     {
123         this.valueObject.setIsMandatory(isMandatory);
124     }
125       
126     public java.lang.Boolean JavaDoc getIsUserEditable()
127     {
128         return this.valueObject.getIsUserEditable();
129     }
130             
131     public void setIsUserEditable(java.lang.Boolean JavaDoc isUserEditable) throws ConstraintException
132     {
133         this.valueObject.setIsUserEditable(isUserEditable);
134     }
135
136     public java.lang.Boolean JavaDoc getIsInheritable()
137     {
138         return this.valueObject.getIsInheritable();
139     }
140             
141     public void setIsInheritable(java.lang.Boolean JavaDoc isInheritable) throws ConstraintException
142     {
143         this.valueObject.setIsInheritable(isInheritable);
144     }
145       
146 }
147
Popular Tags