001: /*
002: * GeoTools - OpenSource mapping toolkit
003: * http://geotools.org
004: * (C) 2002-2006, Geotools Project Managment Committee (PMC)
005: *
006: * This library is free software; you can redistribute it and/or
007: * modify it under the terms of the GNU Lesser General Public
008: * License as published by the Free Software Foundation; either
009: * version 2.1 of the License, or (at your option) any later version.
010: *
011: * This library is distributed in the hope that it will be useful,
012: * but WITHOUT ANY WARRANTY; without even the implied warranty of
013: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
014: * Lesser General Public License for more details.
015: */
016: package org.geotools.data.vpf.ifc;
017:
018: /**
019: * FileConstants.java Created: Fri Dec 27 23:16:01 2002
020: *
021: * @author <a href="mailto:kobit@users.sf.net">Artur Hefczyc</a>
022: * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/unsupported/vpf/src/main/java/org/geotools/data/vpf/ifc/FileConstants.java $
023: * @version $Id: FileConstants.java 22482 2006-10-31 02:58:00Z desruisseaux $
024: */
025: public interface FileConstants {
026: //VPF Separators
027:
028: /** Variable constant <code>VPF_ELEMENT_SEPARATOR</code> keeps value of */
029: public static final char VPF_ELEMENT_SEPARATOR = ',';
030:
031: /** Variable constant <code>VPF_FIELD_SEPARATOR</code> keeps value of */
032: public static final char VPF_FIELD_SEPARATOR = ':';
033:
034: /** Variable constant <code>VPF_RECORD_SEPARATOR</code> keeps value of */
035: public static final char VPF_RECORD_SEPARATOR = ';';
036:
037: // Key types
038:
039: /** <code>KEY_PRIMARY</code> stores code for primary key identification. */
040: public static final char KEY_PRIMARY = 'P';
041:
042: /** <code>KEY_UNIQUE</code> stores code for unique key identification. */
043: public static final char KEY_UNIQUE = 'U';
044:
045: /**
046: * <code>KEY_NON_UNIQUE</code> stores code for non unique key
047: * identification.
048: */
049: public static final char KEY_NON_UNIQUE = 'N';
050:
051: // Column conditions
052:
053: /** <code>COLUMN_OPTIONAL</code> stores code for optional column. */
054: public static final String COLUMN_OPTIONAL = "O";
055:
056: /**
057: * <code>COLUMN_OPTIONAL_FP</code> stores code for optional feature pointer
058: * column.
059: */
060: public static final String COLUMN_OPTIONAL_FP = "OF";
061:
062: /** <code>COLUMN_MANDATORY</code> stores code for mandatory column. */
063: public static final String COLUMN_MANDATORY = "M";
064:
065: /**
066: * <code>COLUMN_MANDATORY_AT_LEVEL_0</code> stores code for mandatory
067: * column at topology level 0.
068: */
069: public static final String COLUMN_MANDATORY_AT_LEVEL_0 = "M0";
070:
071: /**
072: * <code>COLUMN_MANDATORY_AT_LEVEL_1</code> stores code for mandatory
073: * column at topology level 1.
074: */
075: public static final String COLUMN_MANDATORY_AT_LEVEL_1 = "M1";
076:
077: /**
078: * <code>COLUMN_MANDATORY_AT_LEVEL_2</code> stores code for mandatory
079: * column at topology level 2.
080: */
081: public static final String COLUMN_MANDATORY_AT_LEVEL_2 = "M2";
082:
083: /**
084: * <code>COLUMN_MANDATORY_AT_LEVEL_3</code> stores code for mandatory
085: * column at topology level 3.
086: */
087: public static final String COLUMN_MANDATORY_AT_LEVEL_3 = "M3";
088:
089: /**
090: * <code>COLUMN_MANDATORY_IF_TILES</code> stores code for mandatory column
091: * if tiles exists.
092: */
093: public static final String COLUMN_MANDATORY_IF_TILES = "MT";
094:
095: // Table reserved names
096:
097: /** Variable constant <code>COVERAGE_ATTRIBUTE_TABLE</code> keeps
098: * value of */
099: public static final String COVERAGE_ATTRIBUTE_TABLE = "cat";
100:
101: /** Variable constant <code>TABLE_CAT</code> keeps value of */
102: public static final String TABLE_CAT = COVERAGE_ATTRIBUTE_TABLE;
103:
104: /** Variable constant <code>CONNECTED_NODE_PRIMITIVE</code> keeps
105: * value of */
106: public static final String CONNECTED_NODE_PRIMITIVE = "cnd";
107:
108: /** Variable constant <code>TABLE_CND</code> keeps value of */
109: public static final String TABLE_CND = CONNECTED_NODE_PRIMITIVE;
110:
111: /**
112: * Variable constant <code>CONNECTED_NODE_SPATIAL_INDEX</code>
113: * keeps value of
114: */
115: public static final String CONNECTED_NODE_SPATIAL_INDEX = "csi";
116:
117: /** Variable constant <code>TABLE_CSI</code> keeps value of */
118: public static final String TABLE_CSI = CONNECTED_NODE_SPATIAL_INDEX;
119:
120: /** Variable constant <code>DATABASE_HEADER_TABLE</code> keeps value of */
121: public static final String DATABASE_HEADER_TABLE = "dht";
122:
123: /** Variable constant <code>TABLE_DHT</code> keeps value of */
124: public static final String TABLE_DHT = DATABASE_HEADER_TABLE;
125:
126: /** Variable constant <code>DATA_QUALITY_TABLE</code> keeps value of */
127: public static final String DATA_QUALITY_TABLE = "dqt";
128:
129: /** Variable constant <code>TABLE_DQT</code> keeps value of */
130: public static final String TABLE_DQT = DATA_QUALITY_TABLE;
131:
132: /** Variable constant <code>EDGE_BOUNDING_RECTANGLE</code> keeps
133: * value of */
134: public static final String EDGE_BOUNDING_RECTANGLE = "ebr";
135:
136: /** Variable constant <code>TABLE_EBR</code> keeps value of */
137: public static final String TABLE_EBR = EDGE_BOUNDING_RECTANGLE;
138:
139: /** Variable constant <code>EDGE_PRIMITIVE</code> keeps value of */
140: public static final String EDGE_PRIMITIVE = "edg";
141:
142: /** Variable constant <code>TABLE_EDG</code> keeps value of */
143: public static final String TABLE_EDG = EDGE_PRIMITIVE;
144:
145: /** Variable constant <code>ENTITY_NODE_PRIMITIVE</code> keeps
146: * value of
147: */
148: public static final String ENTITY_NODE_PRIMITIVE = "end";
149:
150: /** Variable constant <code>TABLE_END</code> keeps value of */
151: public static final String TABLE_END = ENTITY_NODE_PRIMITIVE;
152:
153: /** Variable constant <code>EDGE_SPATIAL_INDEX</code> keeps value of */
154: public static final String EDGE_SPATIAL_INDEX = "esi";
155:
156: /** Variable constant <code>TABLE_ESI</code> keeps value of */
157: public static final String TABLE_ESI = EDGE_SPATIAL_INDEX;
158:
159: /** Variable constant <code>FACE_PRIMITIVE</code> keeps value of */
160: public static final String FACE_PRIMITIVE = "fac";
161:
162: /** Variable constant <code>TABLE_FAC</code> keeps value of */
163: public static final String TABLE_FAC = FACE_PRIMITIVE;
164:
165: /** Variable constant <code>FACE_BOUNDING_RECTANGLE</code> keeps
166: * value of
167: */
168: public static final String FACE_BOUNDING_RECTANGLE = "fbr";
169:
170: /** Variable constant <code>TABLE_FBR</code> keeps value of */
171: public static final String TABLE_FBR = FACE_BOUNDING_RECTANGLE;
172:
173: /**
174: * Variable constant <code>FEATURE_CLASS_ATTRIBUTE_TABLE</code> keeps
175: * value of
176: */
177: public static final String FEATURE_CLASS_ATTRIBUTE_TABLE = "fca";
178:
179: /** Variable constant <code>TABLE_FCA</code> keeps value of */
180: public static final String TABLE_FCA = FEATURE_CLASS_ATTRIBUTE_TABLE;
181:
182: /**
183: * Variable constant <code>FEATURE_CLASS_SCHEMA_TABLE</code> keeps
184: * value of
185: */
186: public static final String FEATURE_CLASS_SCHEMA_TABLE = "fcs";
187:
188: /** Variable constant <code>TABLE_FCS</code> keeps value of */
189: public static final String TABLE_FCS = FEATURE_CLASS_SCHEMA_TABLE;
190:
191: /** Variable constant <code>FACE_SPATIAL_INDEX</code> keeps value of */
192: public static final String FACE_SPATIAL_INDEX = "fsi";
193:
194: /** Variable constant <code>TABLE_FSI</code> keeps value of */
195: public static final String TABLE_FSI = FACE_SPATIAL_INDEX;
196:
197: /**
198: * Variable constant <code>GEOGRAPHIC_REFERENCE_TABLE</code> keeps
199: * value of
200: */
201: public static final String GEOGRAPHIC_REFERENCE_TABLE = "grt";
202:
203: /** Variable constant <code>TABLE_GRT</code> keeps value of */
204: public static final String TABLE_GRT = GEOGRAPHIC_REFERENCE_TABLE;
205:
206: /** Variable constant <code>LIBRARY_ATTTIBUTE_TABLE</code> keeps
207: * value of
208: */
209: public static final String LIBRARY_ATTTIBUTE_TABLE = "lat";
210:
211: /** Variable constant <code>TABLE_LAT</code> keeps value of */
212: public static final String TABLE_LAT = LIBRARY_ATTTIBUTE_TABLE;
213:
214: /** Variable constant <code>LIBRARY_HEADER_TABLE</code> keeps value of */
215: public static final String LIBRARY_HEADER_TABLE = "lht";
216:
217: /** Variable constant <code>TABLE_LHT</code> keeps value of */
218: public static final String TABLE_LHT = LIBRARY_HEADER_TABLE;
219:
220: /**
221: * Variable constant <code>ENTITY_NODE_SPATIAL_INDEX</code> keeps
222: * value of
223: */
224: public static final String ENTITY_NODE_SPATIAL_INDEX = "nsi";
225:
226: /** Variable constant <code>TABLE_NSI</code> keeps value of */
227: public static final String TABLE_NSI = ENTITY_NODE_SPATIAL_INDEX;
228:
229: /** Variable constant <code>RING_TABLE</code> keeps value of */
230: public static final String RING_TABLE = "rng";
231:
232: /** Variable constant <code>TABLE_RNG</code> keeps value of */
233: public static final String TABLE_RNG = RING_TABLE;
234:
235: /** Variable constant <code>TEXT_PRIMITIVE</code> keeps value of */
236: public static final String TEXT_PRIMITIVE = "txt";
237:
238: /** Variable constant <code>TABLE_TXT</code> keeps value of */
239: public static final String TABLE_TXT = TEXT_PRIMITIVE;
240:
241: /** Variable constant <code>TEXT_SPATIAL_INDEX</code> keeps value of */
242: public static final String TEXT_SPATIAL_INDEX = "tsi";
243:
244: /** Variable constant <code>TABLE_TSI</code> keeps value of */
245: public static final String TABLE_TSI = TEXT_SPATIAL_INDEX;
246:
247: /**
248: * Variable constant <code>CHARACTER_VALUE_DESCRIPTION_TABLE</code> keeps
249: * value of
250: */
251: public static final String CHARACTER_VALUE_DESCRIPTION_TABLE = "char.vdt";
252:
253: /** Variable constant <code>TABLE_CHAR</code> keeps value of */
254: public static final String TABLE_CHAR = CHARACTER_VALUE_DESCRIPTION_TABLE;
255:
256: /**
257: * Variable constant <code>INTEGER_VALUE_DESCRIPTION_TABLE</code> keeps
258: * value of
259: */
260: public static final String INTEGER_VALUE_DESCRIPTION_TABLE = "int.vdt";
261:
262: /** Variable constant <code>TABLE_INT</code> keeps value of */
263: public static final String TABLE_INT = INTEGER_VALUE_DESCRIPTION_TABLE;
264:
265: // Table reserved extensions
266:
267: /**
268: * Variable constant <code>AREA_BOUMDING_RECTANGLE_TABLE</code> keeps
269: * value of
270: */
271: public static final String AREA_BOUMDING_RECTANGLE_TABLE = ".abr";
272:
273: /** Variable constant <code>EXT_ABR</code> keeps value of */
274: public static final String EXT_ABR = AREA_BOUMDING_RECTANGLE_TABLE;
275:
276: /** Variable constant <code>AREA_FEATURE_TABLE</code> keeps value of */
277: public static final String AREA_FEATURE_TABLE = ".aft";
278:
279: /** Variable constant <code>EXT_AFT</code> keeps value of */
280: public static final String EXT_AFT = AREA_FEATURE_TABLE;
281:
282: /** Variable constant <code>AREA_JOIN_TABLE</code> keeps value of */
283: public static final String AREA_JOIN_TABLE = ".ajt";
284:
285: /** Variable constant <code>EXT_AJT</code> keeps value of */
286: public static final String EXT_AJT = AREA_JOIN_TABLE;
287:
288: /** Variable constant <code>AREA_THEMATIC_INDEX</code> keeps value of */
289: public static final String AREA_THEMATIC_INDEX = ".ati";
290:
291: /** Variable constant <code>EXT_ATI</code> keeps value of */
292: public static final String EXT_ATI = AREA_THEMATIC_INDEX;
293:
294: /**
295: * Variable constant <code>COMPLEX_BOUNDING_RECTANGLE_TABLE</code> keeps
296: * value of
297: */
298: public static final String COMPLEX_BOUNDING_RECTANGLE_TABLE = ".cbr";
299:
300: /** Variable constant <code>EXT_CBR</code> keeps value of */
301: public static final String EXT_CBR = COMPLEX_BOUNDING_RECTANGLE_TABLE;
302:
303: /** Variable constant <code>COMPLEX_FEATURE_TABLE</code> keeps value of */
304: public static final String COMPLEX_FEATURE_TABLE = ".cft";
305:
306: /** Variable constant <code>EXT_CFT</code> keeps value of */
307: public static final String EXT_CFT = COMPLEX_FEATURE_TABLE;
308:
309: /** Variable constant <code>COMPLEX_JOIN_TABLE</code> keeps value of */
310: public static final String COMPLEX_JOIN_TABLE = ".cjt";
311:
312: /** Variable constant <code>EXT_CJT</code> keeps value of */
313: public static final String EXT_CJT = COMPLEX_JOIN_TABLE;
314:
315: /** Variable constant <code>COMPLEX_THEMATIC_INDEX</code> keeps value of */
316: public static final String COMPLEX_THEMATIC_INDEX = ".cti";
317:
318: /** Variable constant <code>EXT_CTI</code> keeps value of */
319: public static final String EXT_CTI = COMPLEX_THEMATIC_INDEX;
320:
321: /** Variable constant <code>NARRATIVE_TABLE</code> keeps value of */
322: public static final String NARRATIVE_TABLE = ".doc";
323:
324: /** Variable constant <code>EXT_DOC</code> keeps value of */
325: public static final String EXT_DOC = NARRATIVE_TABLE;
326:
327: /** Variable constant <code>DIAGNOSITC_POINT_TABLE</code> keeps value of */
328: public static final String DIAGNOSITC_POINT_TABLE = ".dpt";
329:
330: /** Variable constant <code>EXT_DPT</code> keeps value of */
331: public static final String EXT_DPT = DIAGNOSITC_POINT_TABLE;
332:
333: /** Variable constant <code>FEATURE_INDEX_TABLE</code> keeps value of */
334: public static final String FEATURE_INDEX_TABLE = ".fit";
335:
336: /** Variable constant <code>EXT_FIT</code> keeps value of */
337: public static final String EXT_FIT = FEATURE_INDEX_TABLE;
338:
339: /** Variable constant <code>FEATURE_THEMATIC_INDEX</code> keeps value of */
340: public static final String FEATURE_THEMATIC_INDEX = ".fti";
341:
342: /** Variable constant <code>EXT_FTI</code> keeps value of */
343: public static final String EXT_FTI = FEATURE_THEMATIC_INDEX;
344:
345: /** Variable constant <code>JOIN_THEMATIC_INDEX</code> keeps value of */
346: public static final String JOIN_THEMATIC_INDEX = ".jti";
347:
348: /** Variable constant <code>EXT_JTI</code> keeps value of */
349: public static final String EXT_JTI = JOIN_THEMATIC_INDEX;
350:
351: /**
352: * Variable constant <code>LINE_BOUNDING_RECTANGLE_TABLE</code> keeps
353: * value of
354: */
355: public static final String LINE_BOUNDING_RECTANGLE_TABLE = ".lbr";
356:
357: /** Variable constant <code>EXT_LBR</code> keeps value of */
358: public static final String EXT_LBR = LINE_BOUNDING_RECTANGLE_TABLE;
359:
360: /** Variable constant <code>LINE_FEATURE_TABLE</code> keeps value of */
361: public static final String LINE_FEATURE_TABLE = ".lft";
362:
363: /** Variable constant <code>EXT_LFT</code> keeps value of */
364: public static final String EXT_LFT = LINE_FEATURE_TABLE;
365:
366: /** Variable constant <code>LINE_JOIN_TABLE</code> keeps value of */
367: public static final String LINE_JOIN_TABLE = ".ljt";
368:
369: /** Variable constant <code>EXT_LJT</code> keeps value of */
370: public static final String EXT_LJT = LINE_JOIN_TABLE;
371:
372: /** Variable constant <code>LINE_THEMATIC_INDEX</code> keeps value of */
373: public static final String LINE_THEMATIC_INDEX = ".lti";
374:
375: /** Variable constant <code>EXT_LTI</code> keeps value of */
376: public static final String EXT_LTI = LINE_THEMATIC_INDEX;
377:
378: /**
379: * Variable constant <code>POINT_BOUNDING_RECTANGLE_TABLE</code> keeps
380: * value of
381: */
382: public static final String POINT_BOUNDING_RECTANGLE_TABLE = ".pbr";
383:
384: /** Variable constant <code>EXT_PBR</code> keeps value of */
385: public static final String EXT_PBR = POINT_BOUNDING_RECTANGLE_TABLE;
386:
387: /** Variable constant <code>POINT_FEATURE_TABLE</code> keeps value of */
388: public static final String POINT_FEATURE_TABLE = ".pft";
389:
390: /** Variable constant <code>EXT_PFT</code> keeps value of */
391: public static final String EXT_PFT = POINT_FEATURE_TABLE;
392:
393: /** Variable constant <code>POINT_JOIN_TABLE</code> keeps value of */
394: public static final String POINT_JOIN_TABLE = ".pjt";
395:
396: /** Variable constant <code>EXT_PJT</code> keeps value of */
397: public static final String EXT_PJT = POINT_JOIN_TABLE;
398:
399: /** Variable constant <code>POINT_THEMATIC_INDEX</code> keeps value of */
400: public static final String POINT_THEMATIC_INDEX = ".pti";
401:
402: /** Variable constant <code>EXT_PTI</code> keeps value of */
403: public static final String EXT_PTI = POINT_THEMATIC_INDEX;
404:
405: /** Variable constant <code>RELATED_ATTRIBUTE_TABLE</code> keeps
406: * value of
407: */
408: public static final String RELATED_ATTRIBUTE_TABLE = ".rat";
409:
410: /** Variable constant <code>EXT_RAT</code> keeps value of */
411: public static final String EXT_RAT = RELATED_ATTRIBUTE_TABLE;
412:
413: /** Variable constant <code>REGISTRATION_POINT_TABLE</code> keeps
414: * value of
415: */
416: public static final String REGISTRATION_POINT_TABLE = ".rpt";
417:
418: /** Variable constant <code>EXT_RPT</code> keeps value of */
419: public static final String EXT_RPT = REGISTRATION_POINT_TABLE;
420:
421: /** Variable constant <code>TEXT_FEATURE_TABLE</code> keeps value of */
422: public static final String TEXT_FEATURE_TABLE = ".tft";
423:
424: /** Variable constant <code>EXT_TFT</code> keeps value of */
425: public static final String EXT_TFT = TEXT_FEATURE_TABLE;
426:
427: /** Variable constant <code>TEXT_THEMATIC_TABLE</code> keeps value of */
428: public static final String TEXT_THEMATIC_TABLE = ".tti";
429:
430: /** Variable constant <code>EXT_TTI</code> keeps value of */
431: public static final String EXT_TTI = TEXT_THEMATIC_TABLE;
432:
433: // Reserved directory names
434:
435: /**
436: * Variable constant <code>LIBRARY_REFERENCE_COVERAGE</code> keeps value of
437: */
438: public static final String LIBRARY_REFERENCE_COVERAGE = "libref";
439:
440: /** Variable constant <code>DIR_LIBREF</code> keeps value of */
441: public static final String DIR_LIBREF = LIBRARY_REFERENCE_COVERAGE;
442:
443: /** Variable constant <code>DATA_QUALITY_COVERAGE</code> keeps value of */
444: public static final String DATA_QUALITY_COVERAGE = "dq";
445:
446: /** Variable constant <code>DIR_DQ</code> keeps value of */
447: public static final String DIR_DQ = DATA_QUALITY_COVERAGE;
448:
449: /** Variable constant <code>TILE_REFERENCE_COVERAGE</code> keeps
450: * value of
451: */
452: public static final String TILE_REFERENCE_COVERAGE = "tileref";
453:
454: /** Variable constant <code>DIR_TILEREF</code> keeps value of */
455: public static final String DIR_TILEREF = TILE_REFERENCE_COVERAGE;
456:
457: /** Variable constant <code>NAMES_REFERENCE_COVERAGE</code> keeps
458: * value of
459: */
460: public static final String NAMES_REFERENCE_COVERAGE = "gazette";
461:
462: /** Variable constant <code>DIR_GAZETTE</code> keeps value of */
463: public static final String DIR_GAZETTE = NAMES_REFERENCE_COVERAGE;
464: }
465:
466: // FileConstants
|