Mercurial > dive4elements > gnv-client
comparison geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/ColDefinition.java @ 129:110e3ac1b7d2
Library Dependencies Added to pom.xml-File
Import of SDE-Datasources
geo-backend/trunk@5 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Wed, 02 Sep 2009 09:07:03 +0000 |
parents | |
children | 12f88239fb33 |
comparison
equal
deleted
inserted
replaced
128:9b3f5a067c29 | 129:110e3ac1b7d2 |
---|---|
1 /** | |
2 * Title: ColDefinition, $Header: /share/gdi/SDI-Suite/Repository/projekte/BSH-GDI/genericViewer/src/main/java/de/conterra/bsh/gdi/gnviewer/datasources/ColDefinition.java,v 1.2 2007/12/21 12:31:15 blume Exp $ | |
3 * Source: $Source: /share/gdi/SDI-Suite/Repository/projekte/BSH-GDI/genericViewer/src/main/java/de/conterra/bsh/gdi/gnviewer/datasources/ColDefinition.java,v $ | |
4 * created by: Stefan Blume (blume) | |
5 * erstellt am: 21.11.2007 | |
6 * Copyright: con terra GmbH, 2005 | |
7 * | |
8 * modified by: $Author: blume $ | |
9 * modified on: $Date: 2007/12/21 12:31:15 $ | |
10 * Version: $Revision: 1.2 $ | |
11 * TAG: $Name: $ | |
12 * locked from: $Locker: $ | |
13 * CVS State: $State: Exp $ | |
14 * Project: $ProjectName$ | |
15 */ | |
16 package de.intevation.gnv.geobackend.sde.datasources; | |
17 | |
18 import org.apache.log4j.Logger; | |
19 | |
20 /** | |
21 * The class <code>ColDefinition</code> fulfills the following purposes: | |
22 * <ol> | |
23 * <li></li> | |
24 * </ol> | |
25 * | |
26 * @author blume | |
27 * @version 1.0 | |
28 * @serial 1.0 | |
29 * @see | |
30 * @since 21.11.2007 10:59:45 | |
31 */ | |
32 public class ColDefinition { | |
33 | |
34 /** | |
35 * Default Logging instance | |
36 */ | |
37 private static Logger sLogger = Logger.getLogger(ColDefinition.class); | |
38 | |
39 /** | |
40 * @deprecated | |
41 */ | |
42 public static final int SMALLINT = 1; | |
43 /** | |
44 * @deprecated | |
45 */ | |
46 public static final int INTEGER = 2; | |
47 /** | |
48 * @deprecated | |
49 */ | |
50 public static final int FLOAT = 3; | |
51 /** | |
52 * @deprecated | |
53 */ | |
54 public static final int DOUBLE = 4; | |
55 public static final int INT16 = 1; | |
56 public static final int INT32 = 2; | |
57 public static final int FLOAT32 = 3; | |
58 public static final int FLOAT64 = 4; | |
59 public static final int STRING = 5; | |
60 public static final int BLOB = 6; | |
61 public static final int DATE = 7; | |
62 public static final int SHAPE = 8; | |
63 public static final int RASTER = 9; | |
64 public static final int XML = 10; | |
65 public static final int INT64 = 11; | |
66 public static final int UUID = 12; | |
67 public static final int CLOB = 13; | |
68 public static final int NSTRING = 14; | |
69 public static final int NCLOB = 15; | |
70 | |
71 private String mName; | |
72 private int mType; | |
73 | |
74 public ColDefinition(String pName, int pType) { | |
75 mName = pName; | |
76 mType = pType; | |
77 } | |
78 | |
79 public String getName() { | |
80 return mName; | |
81 } | |
82 | |
83 public int getType() { | |
84 return mType; | |
85 } | |
86 } |