Class VPFCoverage


  • public class VPFCoverage
    extends Object
    A VPF coverage. This class constructs and contains both feature classes and feature types.
    Author:
    Jeff Yutzler
    • Constructor Detail

      • VPFCoverage

        public VPFCoverage​(VPFLibrary cLibrary,
                           SimpleFeature feature,
                           String cDirectoryName)
                    throws IOException,
                           SchemaException
        Constructor
        Parameters:
        cDirectoryName - path to directory containing coverage
        Throws:
        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,
                           SimpleFeature feature,
                           String cDirectoryName,
                           URI namespace)
                    throws IOException,
                           SchemaException
        Constructor with namespace
        Parameters:
        cDirectoryName - path to directory containing coverage
        Throws:
        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 List<VPFFeatureClass> getFeatureClasses()
        Returns the feature classes in the coverage
        Returns:
        the feature classes in the coverage
      • getFeatureTypes

        public List<VPFFeatureType> 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 String getName()
        Returns the coverage name
        Returns:
        the coverage name
      • getPathName

        public 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.
      • getDescription

        public String getDescription()
      • toString

        public String toString()
        Overrides:
        toString in class Object