KickJava   Java API By Example, From Geeks To Geeks.

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


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

69     public BaseEntityVO getVO()
70     {
71         return (BaseEntityVO) getValueObject();
72     }
73     /**
74      * @see org.infoglue.cms.entities.kernel.BaseEntity#setVO(BaseEntityVO)
75      */

76     public void setVO(BaseEntityVO valueObject)
77     {
78         setValueObject((AvailableServiceBindingVO) valueObject);
79     }
80     
81     public java.lang.Integer JavaDoc getAvailableServiceBindingId()
82     {
83         return this.valueObject.getAvailableServiceBindingId();
84     }
85             
86     public void setAvailableServiceBindingId(java.lang.Integer JavaDoc availableServiceBindingId)
87     {
88         this.valueObject.setAvailableServiceBindingId(availableServiceBindingId);
89     }
90       
91     public java.lang.String JavaDoc getName()
92     {
93         return this.valueObject.getName();
94     }
95             
96     public void setName(java.lang.String JavaDoc name) throws ConstraintException
97     {
98         this.valueObject.setName(name);
99     }
100       
101     public java.lang.String JavaDoc getDescription()
102     {
103         return this.valueObject.getDescription();
104     }
105             
106     public void setDescription(java.lang.String JavaDoc description) throws ConstraintException
107     {
108         this.valueObject.setDescription(description);
109     }
110
111     public java.lang.String JavaDoc getVisualizationAction()
112     {
113         return this.valueObject.getVisualizationAction();
114     }
115             
116     public void setVisualizationAction(java.lang.String JavaDoc visualizationAction) throws ConstraintException
117     {
118         this.valueObject.setVisualizationAction(visualizationAction);
119     }
120     
121      
122     public java.lang.Boolean JavaDoc getIsMandatory()
123     {
124         return this.valueObject.getIsMandatory();
125     }
126             
127     public void setIsMandatory(java.lang.Boolean JavaDoc isMandatory) throws ConstraintException
128     {
129         this.valueObject.setIsMandatory(isMandatory);
130     }
131       
132     public java.lang.Boolean JavaDoc getIsUserEditable()
133     {
134         return this.valueObject.getIsUserEditable();
135     }
136             
137     public void setIsUserEditable(java.lang.Boolean JavaDoc isUserEditable) throws ConstraintException
138     {
139         this.valueObject.setIsUserEditable(isUserEditable);
140     }
141
142     public java.lang.Boolean JavaDoc getIsInheritable()
143     {
144         return this.valueObject.getIsInheritable();
145     }
146             
147     public void setIsInheritable(java.lang.Boolean JavaDoc isInheritable) throws ConstraintException
148     {
149         this.valueObject.setIsInheritable(isInheritable);
150     }
151       
152     public java.util.Collection JavaDoc getSiteNodeTypeDefinitions()
153     {
154         return this.siteNodeTypeDefinitions;
155     }
156             
157     public void setSiteNodeTypeDefinitions (java.util.Collection JavaDoc siteNodeTypeDefinitions)
158     {
159         this.siteNodeTypeDefinitions = siteNodeTypeDefinitions;
160     }
161       
162     public java.util.Collection JavaDoc getServiceDefinitions()
163     {
164         return this.serviceDefinitions;
165     }
166             
167     public void setServiceDefinitions (java.util.Collection JavaDoc serviceDefinitions)
168     {
169         this.serviceDefinitions = serviceDefinitions;
170     }
171     
172     public java.util.Collection JavaDoc getServiceBindings()
173     {
174         return this.serviceBindings;
175     }
176             
177     public void setServiceBindings(java.util.Collection JavaDoc serviceBindings)
178     {
179         this.serviceBindings = serviceBindings;
180     }
181 }
182
Popular Tags