KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > olstore > dto > TypeValue


1 /**
2  * Copyright (c) 2004 Red Hat, Inc. All rights reserved.
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
17  * USA
18  *
19  * Component of: Red Hat Application Server
20  *
21  * Initial Developers: Aizaz Ahmed
22  * Vivek Lakshmanan
23  * Andrew Overholt
24  * Matthew Wringe
25  *
26  */

27 package olstore.dto;
28
29 //import java.lang.Integer;
30
//import java.lang.Float;
31

32 import java.util.Collection;
33
34
35 public class TypeValue {
36     
37     private String Name;
38     
39     //Fields that differ from their backend
40
//representation
41
private Collection Properties;
42     
43     
44     public String getName () {
45         return Name ;
46     }
47     public void setName ( String name) {
48         Name = name ;
49     }
50     
51     public Collection getProperties () {
52         return Properties ;
53     }
54     public void setProperties ( Collection properties ) {
55         Properties = properties;
56     }
57 }
58
Popular Tags