KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > infoglue > cms > entities > structure > ServiceBindingVO


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;
25
26 import org.infoglue.cms.entities.kernel.BaseEntityVO;
27 import org.infoglue.cms.util.ConstraintExceptionBuffer;
28
29 public class ServiceBindingVO implements BaseEntityVO
30 {
31
32     private java.lang.Integer JavaDoc serviceBindingId = null;;
33     private java.lang.String JavaDoc name = "Undefined";
34     private java.lang.String JavaDoc path = "Undefined";
35     private java.lang.Integer JavaDoc bindingTypeId = new Integer JavaDoc(0);
36     private java.lang.Integer JavaDoc availableServiceBindingId = null;
37   
38     public java.lang.Integer JavaDoc getServiceBindingId()
39     {
40         return this.serviceBindingId;
41     }
42                 
43     public void setServiceBindingId(java.lang.Integer JavaDoc serviceBindingId)
44     {
45         this.serviceBindingId = serviceBindingId;
46     }
47     
48     public java.lang.String JavaDoc getName()
49     {
50         return this.name;
51     }
52                 
53     public void setName(java.lang.String JavaDoc name)
54     {
55         this.name = name;
56     }
57
58     public java.lang.String JavaDoc getPath()
59     {
60         return this.path;
61     }
62                 
63     public void setPath(java.lang.String JavaDoc path)
64     {
65         this.path = path;
66     }
67     
68     public java.lang.Integer JavaDoc getBindingTypeId()
69     {
70         return this.bindingTypeId;
71     }
72                 
73     public void setBindingTypeId(java.lang.Integer JavaDoc bindingTypeId)
74     {
75         this.bindingTypeId = bindingTypeId;
76     }
77
78     public java.lang.Integer JavaDoc getAvailableServiceBindingId()
79     {
80         return this.availableServiceBindingId;
81     }
82                 
83     public void setAvailableServiceBindingId(java.lang.Integer JavaDoc availableServiceBindingId)
84     {
85         this.availableServiceBindingId = availableServiceBindingId;
86     }
87  
88     /**
89      * @see org.infoglue.cms.entities.kernel.BaseEntityVO#getId()
90      */

91     public Integer JavaDoc getId()
92     {
93         return getServiceBindingId();
94     }
95     
96     /**
97      * @see org.infoglue.cms.entities.kernel.BaseEntityVO#validate()
98      */

99     public ConstraintExceptionBuffer validate()
100     {
101         return null;
102     }
103 }
104         
105
Popular Tags