org.geotools.data.vpf
Class VPFCoverage

java.lang.Object
  extended byorg.geotools.data.vpf.VPFCoverage
All Implemented Interfaces:
FCode, FileConstants, VPFCoverageIfc

public class VPFCoverage
extends java.lang.Object
implements FCode, FileConstants, VPFCoverageIfc

A VPF coverage. This class constructs and contains both feature classes and feature types.

Author:
Jeff Yutzler

Field Summary
 
Fields inherited from interface org.geotools.data.vpf.ifc.FCode
ALLOWED_FCODE_ATTRIBUTES, ALLOWED_FCODE_ATTRIBUTES_LIST
 
Fields inherited from interface org.geotools.data.vpf.ifc.FileConstants
AREA_BOUMDING_RECTANGLE_TABLE, AREA_FEATURE_TABLE, AREA_JOIN_TABLE, AREA_THEMATIC_INDEX, CHARACTER_VALUE_DESCRIPTION_TABLE, COLUMN_MANDATORY, COLUMN_MANDATORY_AT_LEVEL_0, COLUMN_MANDATORY_AT_LEVEL_1, COLUMN_MANDATORY_AT_LEVEL_2, COLUMN_MANDATORY_AT_LEVEL_3, COLUMN_MANDATORY_IF_TILES, COLUMN_OPTIONAL, COLUMN_OPTIONAL_FP, COMPLEX_BOUNDING_RECTANGLE_TABLE, COMPLEX_FEATURE_TABLE, COMPLEX_JOIN_TABLE, COMPLEX_THEMATIC_INDEX, CONNECTED_NODE_PRIMITIVE, CONNECTED_NODE_SPATIAL_INDEX, COVERAGE_ATTRIBUTE_TABLE, DATA_QUALITY_COVERAGE, DATA_QUALITY_TABLE, DATABASE_HEADER_TABLE, DIAGNOSITC_POINT_TABLE, DIR_DQ, DIR_GAZETTE, DIR_LIBREF, DIR_TILEREF, EDGE_BOUNDING_RECTANGLE, EDGE_PRIMITIVE, EDGE_SPATIAL_INDEX, ENTITY_NODE_PRIMITIVE, ENTITY_NODE_SPATIAL_INDEX, EXT_ABR, EXT_AFT, EXT_AJT, EXT_ATI, EXT_CBR, EXT_CFT, EXT_CJT, EXT_CTI, EXT_DOC, EXT_DPT, EXT_FIT, EXT_FTI, EXT_JTI, EXT_LBR, EXT_LFT, EXT_LJT, EXT_LTI, EXT_PBR, EXT_PFT, EXT_PJT, EXT_PTI, EXT_RAT, EXT_RPT, EXT_TFT, EXT_TTI, FACE_BOUNDING_RECTANGLE, FACE_PRIMITIVE, FACE_SPATIAL_INDEX, FEATURE_CLASS_ATTRIBUTE_TABLE, FEATURE_CLASS_SCHEMA_TABLE, FEATURE_INDEX_TABLE, FEATURE_THEMATIC_INDEX, GEOGRAPHIC_REFERENCE_TABLE, INTEGER_VALUE_DESCRIPTION_TABLE, JOIN_THEMATIC_INDEX, KEY_NON_UNIQUE, KEY_PRIMARY, KEY_UNIQUE, LIBRARY_ATTTIBUTE_TABLE, LIBRARY_HEADER_TABLE, LIBRARY_REFERENCE_COVERAGE, LINE_BOUNDING_RECTANGLE_TABLE, LINE_FEATURE_TABLE, LINE_JOIN_TABLE, LINE_THEMATIC_INDEX, NAMES_REFERENCE_COVERAGE, NARRATIVE_TABLE, POINT_BOUNDING_RECTANGLE_TABLE, POINT_FEATURE_TABLE, POINT_JOIN_TABLE, POINT_THEMATIC_INDEX, REGISTRATION_POINT_TABLE, RELATED_ATTRIBUTE_TABLE, RING_TABLE, TABLE_CAT, TABLE_CHAR, TABLE_CND, TABLE_CSI, TABLE_DHT, TABLE_DQT, TABLE_EBR, TABLE_EDG, TABLE_END, TABLE_ESI, TABLE_FAC, TABLE_FBR, TABLE_FCA, TABLE_FCS, TABLE_FSI, TABLE_GRT, TABLE_INT, TABLE_LAT, TABLE_LHT, TABLE_NSI, TABLE_RNG, TABLE_TSI, TABLE_TXT, TEXT_FEATURE_TABLE, TEXT_PRIMITIVE, TEXT_SPATIAL_INDEX, TEXT_THEMATIC_TABLE, TILE_REFERENCE_COVERAGE, VPF_ELEMENT_SEPARATOR, VPF_FIELD_SEPARATOR, VPF_RECORD_SEPARATOR
 
Fields inherited from interface org.geotools.data.vpf.ifc.VPFCoverageIfc
FIELD_COVERAGE_NAME, FIELD_DESCRIPTION, FIELD_LEVEL
 
Constructor Summary
VPFCoverage(VPFLibrary cLibrary, Feature feature, java.lang.String cDirectoryName)
          Constructor
VPFCoverage(VPFLibrary cLibrary, Feature feature, java.lang.String cDirectoryName, java.net.URI namespace)
          Constructor with namespace
 
Method Summary
 java.util.List getFeatureClasses()
          Returns the feature classes in the coverage
 java.util.List getFeatureTypes()
          Returns the feature types for this coverage
 VPFLibrary getLibrary()
          Returns the owning Module (When refactored this will be the VPFDataSource))
 java.lang.String getName()
          Returns the coverage name
 java.lang.String getPathName()
          Returns the name of the path of the directory containing the coverage
 int getTopologyLevel()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VPFCoverage

public VPFCoverage(VPFLibrary cLibrary,
                   Feature feature,
                   java.lang.String cDirectoryName)
            throws java.io.IOException,
                   SchemaException
Constructor

Parameters:
cDirectoryName - path to directory containing coverage
Throws:
java.io.IOException - if the directory does not contain a valid FCS file
SchemaException - For problems making one of the feature classes as a FeatureType.

VPFCoverage

public VPFCoverage(VPFLibrary cLibrary,
                   Feature feature,
                   java.lang.String cDirectoryName,
                   java.net.URI namespace)
            throws java.io.IOException,
                   SchemaException
Constructor with namespace

Parameters:
cDirectoryName - path to directory containing coverage
Throws:
java.io.IOException - if the directory does not contain a valid FCS file
SchemaException - For problems making one of the feature classes as a FeatureType.
Method Detail

getFeatureClasses

public java.util.List getFeatureClasses()
Returns the feature classes in the coverage

Returns:
the feature classes in the coverage

getFeatureTypes

public java.util.List getFeatureTypes()
Returns the feature types for this coverage

Returns:
a List of the feature types

getLibrary

public VPFLibrary getLibrary()
Returns the owning Module (When refactored this will be the VPFDataSource))

Returns:
the owning Module

getName

public java.lang.String getName()
Returns the coverage name

Returns:
the coverage name

getPathName

public java.lang.String getPathName()
Returns the name of the path of the directory containing the coverage

Returns:
the path of the directory containing the coverage

getTopologyLevel

public int getTopologyLevel()
Returns:
Returns the topologyLevel.

toString

public java.lang.String toString()


Copyright © GeoTools. All Rights Reserved.