Source Code Cross Referenced for KeywordBean.java in  » GIS » geonetwork » org » fao » geonet » kernel » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » geonetwork » org.fao.geonet.kernel 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        //===	Copyright (C) 2001-2005 Food and Agriculture Organization of the
002:        //===	United Nations (FAO-UN), United Nations World Food Programme (WFP)
003:        //===	and United Nations Environment Programme (UNEP)
004:        //===
005:        //===	This program is free software; you can redistribute it and/or modify
006:        //===	it under the terms of the GNU General Public License as published by
007:        //===	the Free Software Foundation; either version 2 of the License, or (at
008:        //===	your option) any later version.
009:        //===
010:        //===	This program is distributed in the hope that it will be useful, but
011:        //===	WITHOUT ANY WARRANTY; without even the implied warranty of
012:        //===	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
013:        //===	General Public License for more details.
014:        //===
015:        //===	You should have received a copy of the GNU General Public License
016:        //===	along with this program; if not, write to the Free Software
017:        //===	Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
018:        //===
019:        //===	Contact: Jeroen Ticheler - FAO - Viale delle Terme di Caracalla 2,
020:        //===	Rome - Italy. email: GeoNetwork@fao.org
021:        //==============================================================================
022:
023:        package org.fao.geonet.kernel;
024:
025:        public class KeywordBean {
026:            private int id;
027:            private String value;
028:            private String lang;
029:            private String definition;
030:            private String code;
031:            private String coordEast;
032:            private String coordWest;
033:            private String coordSouth;
034:            private String coordNorth;
035:            private String thesaurus;
036:            private boolean selected;
037:
038:            /**
039:             * @param id
040:             * @param value
041:             * @param definition
042:             * @param code
043:             * @param coordEast
044:             * @param coordWest
045:             * @param coordSouth
046:             * @param coordNorth
047:             * @param thesaurus
048:             * @param selected
049:             */
050:            public KeywordBean(int id, String value, String definition,
051:                    String code, String coordEast, String coordWest,
052:                    String coordSouth, String coordNorth, String thesaurus,
053:                    boolean selected, String lang) {
054:                super ();
055:                this .id = id;
056:                this .value = value;
057:                this .lang = lang;
058:                this .definition = definition;
059:                this .code = code;
060:                this .coordEast = coordEast;
061:                this .coordWest = coordWest;
062:                this .coordSouth = coordSouth;
063:                this .coordNorth = coordNorth;
064:                this .thesaurus = thesaurus;
065:                this .selected = selected;
066:            }
067:
068:            /**
069:             * @param id
070:             * @param value
071:             * @param definition
072:             * @param thesaurus
073:             * @param selected
074:             */
075:            public KeywordBean(int id, String value, String definition,
076:                    String thesaurus, boolean selected) {
077:                super ();
078:                this .id = id;
079:                this .value = value;
080:                this .definition = definition;
081:                this .thesaurus = thesaurus;
082:                this .selected = selected;
083:            }
084:
085:            /**
086:             * @param value
087:             * @param definition
088:             * @param thesaurus
089:             * @param selected
090:             */
091:            public KeywordBean(String value, String definition,
092:                    String thesaurus, boolean selected) {
093:                super ();
094:                this .value = value;
095:                this .definition = definition;
096:                this .thesaurus = thesaurus;
097:                this .selected = selected;
098:            }
099:
100:            public String getDefinition() {
101:                return definition;
102:            }
103:
104:            public void setDefinition(String definition) {
105:                this .definition = definition;
106:            }
107:
108:            public String getLang() {
109:                return lang;
110:            }
111:
112:            public void setLang(String lang) {
113:                this .lang = lang;
114:            }
115:
116:            public boolean isSelected() {
117:                return selected;
118:            }
119:
120:            public void setSelected(boolean selected) {
121:                this .selected = selected;
122:            }
123:
124:            public String getThesaurus() {
125:                return thesaurus;
126:            }
127:
128:            public void setThesaurus(String thesaurus) {
129:                this .thesaurus = thesaurus;
130:            }
131:
132:            public String getValue() {
133:                return value;
134:            }
135:
136:            public void setValue(String value) {
137:                this .value = value;
138:            }
139:
140:            public int getId() {
141:                return id;
142:            }
143:
144:            public void setId(int id) {
145:                this .id = id;
146:            }
147:
148:            /*
149:             * return the URI of the keyword concept
150:             */
151:            public String getCode() {
152:                return code;
153:            }
154:
155:            public String getRelativeCode() {
156:                String tmpres = code;
157:                String res = tmpres.split("#")[1];
158:                return res;
159:            }
160:
161:            public String getNameSpaceCode() {
162:                String tmpres = code;
163:                String res = tmpres.split("#")[0] + "#";
164:                return res;
165:            }
166:
167:            public void setCode(String code) {
168:                this .code = code;
169:            }
170:
171:            public String getCoordEast() {
172:                return coordEast;
173:            }
174:
175:            public void setCoordEast(String coordEast) {
176:                this .coordEast = coordEast;
177:            }
178:
179:            public String getCoordNorth() {
180:                return coordNorth;
181:            }
182:
183:            public void setCoordNorth(String coordNorth) {
184:                this .coordNorth = coordNorth;
185:            }
186:
187:            public String getCoordWest() {
188:                return coordWest;
189:            }
190:
191:            public void setCoordWest(String coordWest) {
192:                this .coordWest = coordWest;
193:            }
194:
195:            public String getCoordSouth() {
196:                return coordSouth;
197:            }
198:
199:            public void setCoordSouth(String coordSouth) {
200:                this.coordSouth = coordSouth;
201:            }
202:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.