Package thredds.server.wfs
Class WFSFeature
java.lang.Object
thredds.server.wfs.WFSFeature
A simple container for a WFS Feature Type
-
Constructor Summary
ConstructorsConstructorDescriptionWFSFeature(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
Modifier and TypeMethodDescriptionvoidaddAttribute(WFSFeatureAttribute attribute) add attributes to list of attributesgets the list of attributes of this WFS FeatureGets the file / dataset name from which the WFS feature was retrieved.getName()Gets the name of this WFS feature.getTitle()Gets the title of this WFS feature.getType()gets the type of this WFS Feature
-
Constructor Details
-
WFSFeature
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
Gets the name of this WFS feature.- Returns:
- name
-
getTitle
Gets the title of this WFS feature.- Returns:
-
getType
gets the type of this WFS Feature- Returns:
-
getAttributes
gets the list of attributes of this WFS Feature- Returns:
-
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
add attributes to list of attributes- Parameters:
attribute-
-