01: /*
02: * This file is part of the GeOxygene project source files.
03: *
04: * GeOxygene aims at providing an open framework which implements OGC/ISO specifications for
05: * the development and deployment of geographic (GIS) applications. It is a open source
06: * contribution of the COGIT laboratory at the Institut Géographique National (the French
07: * National Mapping Agency).
08: *
09: * See: http://oxygene-project.sourceforge.net
10: *
11: * Copyright (C) 2005 Institut Géographique National
12: *
13: * This library is free software; you can redistribute it and/or modify it under the terms
14: * of the GNU Lesser General Public License as published by the Free Software Foundation;
15: * either version 2.1 of the License, or any later version.
16: *
17: * This library is distributed in the hope that it will be useful, but WITHOUT ANY
18: * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
19: * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
20: *
21: * You should have received a copy of the GNU Lesser General Public License along with
22: * this library (see file LICENSE if present); if not, write to the Free Software
23: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24: *
25: */
26:
27: package fr.ign.cogit.geoxygene.example;
28:
29: import fr.ign.cogit.geoxygene.feature.FT_Feature;
30:
31: /**
32: * Exemple de classe permettant de stocker une geometrie, et differents attributs.
33: * La geometrie est heritee de FT_Feature.
34: * La table correspondante est definie dans le script "resultat.sql".
35: * Le mapping correspondant est defini le fichier "repository_resultat.xml".
36: *
37: * @author Thierry Badard & Arnaud Braun
38: * @version 1.0
39: *
40: */
41:
42: public class Resultat extends FT_Feature {
43:
44: protected double double1;
45:
46: public double getDouble1() {
47: return double1;
48: }
49:
50: public void setDouble1(double theDouble) {
51: double1 = theDouble;
52: }
53:
54: protected int int1;
55:
56: public int getInt1() {
57: return int1;
58: }
59:
60: public void setInt1(int theInt) {
61: int1 = theInt;
62: }
63:
64: protected String string1;
65:
66: public String getString1() {
67: return string1;
68: }
69:
70: public void setString1(String theString) {
71: string1 = theString;
72: }
73:
74: protected boolean boolean1;
75:
76: public boolean getBoolean1() {
77: return boolean1;
78: }
79:
80: public void setBoolean1(boolean theBoolean) {
81: boolean1 = theBoolean;
82: }
83:
84: }
|