Package thredds.server.wfs
Class WFSFeature
- java.lang.Object
-
- thredds.server.wfs.WFSFeature
-
public class WFSFeature extends Object
A simple container for a WFS Feature Type
-
-
Constructor Summary
Constructors Constructor Description WFSFeature(String name, String title)Create a new WFS Feature with the given name and titleWFSFeature(String name, String title, String type, ArrayList<WFSFeatureAttribute> attributes)Create a new WFS Feature with given name, title, type, and attributes
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAttribute(WFSFeatureAttribute attribute)add attributes to list of attributesArrayList<WFSFeatureAttribute>getAttributes()gets the list of attributes of this WFS FeatureStringgetFileDSName()Gets the file / dataset name from which the WFS feature was retrieved.StringgetName()Gets the name of this WFS feature.StringgetTitle()Gets the title of this WFS feature.StringgetType()gets the type of this WFS Feature
-
-
-
Constructor Detail
-
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 Detail
-
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-
-
-