Class WFSFeature

java.lang.Object
thredds.server.wfs.WFSFeature

public class WFSFeature extends Object
A simple container for a WFS Feature Type
  • Constructor Details

    • WFSFeature

      public WFSFeature(String name, String title)
      Create a new WFS Feature with the given name and title
      Parameters:
      name -
      title -
    • WFSFeature

      public WFSFeature(String name, String title, String type, ArrayList<WFSFeatureAttribute> attributes)
      Create a new WFS Feature with given name, title, type, and attributes
      Parameters:
      name -
      title -
      type -
      attributes -
  • Method Details

    • getName

      public String getName()
      Gets the name of this WFS feature.
      Returns:
      name
    • getTitle

      public String getTitle()
      Gets the title of this WFS feature.
      Returns:
    • getType

      public String getType()
      gets the type of this WFS Feature
      Returns:
    • getAttributes

      public ArrayList<WFSFeatureAttribute> getAttributes()
      gets the list of attributes of this WFS Feature
      Returns:
    • getFileDSName

      public String getFileDSName()
      Gets the file / dataset name from which the WFS feature was retrieved. The File DS name is used for the namespace of the feature type.
      Returns:
    • addAttribute

      public void addAttribute(WFSFeatureAttribute attribute)
      add attributes to list of attributes
      Parameters:
      attribute -