KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > infoglue > cms > entities > structure > impl > simple > QualifyerImpl


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

37     public BaseEntityVO getVO()
38     {
39         return (BaseEntityVO) getValueObject();
40     }
41
42     /**
43      * @see org.infoglue.cms.entities.kernel.BaseEntity#setVO(BaseEntityVO)
44      */

45     public void setVO(BaseEntityVO valueObject)
46     {
47         setValueObject((QualifyerVO) valueObject);
48     }
49  
50     /**
51      * @see org.infoglue.cms.entities.kernel.BaseEntity#getId()
52      */

53     public Integer JavaDoc getId()
54     {
55         return getQualifyerId();
56     }
57     
58     public Object JavaDoc getIdAsObject()
59     {
60         return getId();
61     }
62  
63     public QualifyerVO getValueObject()
64     {
65         return this.valueObject;
66     }
67         
68     public void setValueObject(QualifyerVO valueObject)
69     {
70         this.valueObject = valueObject;
71     }
72
73     private org.infoglue.cms.entities.structure.impl.simple.ServiceBindingImpl serviceBinding;
74       
75     public java.lang.Integer JavaDoc getQualifyerId()
76     {
77         return this.valueObject.getQualifyerId();
78     }
79             
80     public void setQualifyerId(java.lang.Integer JavaDoc qualifyerId)
81     {
82         this.valueObject.setQualifyerId(qualifyerId);
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)
91     {
92         this.valueObject.setName(name);
93     }
94       
95     public java.lang.String JavaDoc getValue()
96     {
97         return this.valueObject.getValue();
98     }
99             
100     public void setValue(java.lang.String JavaDoc value)
101     {
102         this.valueObject.setValue(value);
103     }
104
105     public java.lang.Integer JavaDoc getSortOrder()
106     {
107         return this.valueObject.getSortOrder();
108     }
109     
110     public void setSortOrder(java.lang.Integer JavaDoc sortOrder)
111     {
112         this.valueObject.setSortOrder(sortOrder);
113     }
114
115       
116     public org.infoglue.cms.entities.structure.impl.simple.ServiceBindingImpl getServiceBinding()
117     {
118         return this.serviceBinding;
119     }
120             
121     public void setServiceBinding (org.infoglue.cms.entities.structure.impl.simple.ServiceBindingImpl serviceBinding)
122     {
123         this.serviceBinding = serviceBinding;
124     }
125   }
126
Popular Tags