org.deegree_impl.services.wfs.capabilities
Class FeatureType_Impl

java.lang.Object
  extended byorg.deegree_impl.services.wfs.capabilities.FeatureType_Impl
All Implemented Interfaces:
FeatureType

class FeatureType_Impl
extends java.lang.Object
implements FeatureType

The main purpose of the <FeatureTypeList> section is to define the list of feature types that a WFS can service and define the operations that are supported on each feature type. For possible operations see the Operations interface.

-----------------------------------------------------

Version:
$Revision: 1.3 $ $Date: 2004/01/12 10:21:57 $
Author:
Katharina Lupp

Field Summary
private  java.lang.String abstract_
           
private  java.net.URL configURL
           
private  java.util.ArrayList keyword
           
private  GM_Envelope latLonBoundingBox
           
private  java.util.ArrayList metadataURL
           
private  java.lang.String name
           
private  java.util.ArrayList operation
           
private  FeatureTypeList parentList
           
private  java.lang.String responsibleClassName
           
private  java.lang.String srs
           
private  java.lang.String title
           
 
Constructor Summary
(package private) FeatureType_Impl(java.lang.String name, java.lang.String title, java.lang.String abstract_, java.lang.String srs, GM_Envelope latLonBoundingBox, FeatureTypeList parentList, java.lang.String[] keyword, Operation[] operation, MetadataURL[] metadataURL, java.lang.String responsibleClassName, java.net.URL configURL)
          constructor initializing the class with the
 
Method Summary
 void addKeyword(java.lang.String keyword)
          adds the keyword
 void addMetadataURL(MetadataURL metadataURL)
          adds the metadataURL
 void addOperation(Operation operation)
          Adds an operation (only if it has not been defined yet).
 java.lang.String getAbstract()
          The <Abstract> is a descriptive narrative for more information about the feature type.
 java.net.URL getConfigURL()
          returns the name of the configuration file of the responsible class
 java.lang.String[] getKeywords()
          The <Keyword> element delimits short words to aid catalog searching.
 GM_Envelope getLatLonBoundingBox()
          The LatLonBoundingBox attributes indicate the edges of the enclosing rectangle in latitude/longitude decimal degrees (as in SRS EPSG:4326 [WGS1984 lat/lon]).
 MetadataURL[] getMetadataURL()
          A WFS may use zero or more <MetadataURL> elements to offer detailed, standardized metadata about the data inaparticularfeature type.The type attribute indicates the standard to which the metadata complies; the format attribute indicates how the metadata is structured.
 java.lang.String getName()
          The name of the feature type.
 Operation[] getOperations()
          The <Operations> element defines which are operations are supported on a feature type.
 FeatureTypeList getParentList()
          returns an instance of the feature type list the feature belongs to.
 java.lang.String getResponsibleClassName()
          returns the name of the class that's responsible for performing the operation.
 java.lang.String getSrs()
          The <SRS> element is used to indicate which spatial reference system should be used to express the state of a feature.
 java.lang.String getTitle()
          The <Title> is a human-readable title to briefly identify this feature type in menus.
 void setAbstract(java.lang.String abstract_)
          sets the abstract
 void setConfigURL(java.net.URL configURL)
          sets the name of the configuration file of the responsible class
 void setKeyword(java.lang.String[] keyword)
          sets the keyword
 void setLatLonBoundingBox(GM_Envelope latLonBoundingBox)
          sets the LatLonBoundingBox
 void setMetadataURL(MetadataURL[] metadataURL)
          sets the metadataURL
 void setName(java.lang.String name)
          sets the name of the feature type.
 void setOperations(Operation[] operation)
          sets the operation
 void setParentList(FeatureTypeList parentList)
          sets an instance of the feature type list the feature belongs to.
 void setResponsibleClassName(java.lang.String responsibleClassName)
          sets the name of the responsible class for handling this operation.
 void setSrs(java.lang.String srs)
          sets the srs
 void setTitle(java.lang.String title)
          sets the title
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

private java.lang.String name

title

private java.lang.String title

abstract_

private java.lang.String abstract_

srs

private java.lang.String srs

latLonBoundingBox

private GM_Envelope latLonBoundingBox

parentList

private FeatureTypeList parentList

responsibleClassName

private java.lang.String responsibleClassName

configURL

private java.net.URL configURL

keyword

private java.util.ArrayList keyword

operation

private java.util.ArrayList operation

metadataURL

private java.util.ArrayList metadataURL
Constructor Detail

FeatureType_Impl

FeatureType_Impl(java.lang.String name,
                 java.lang.String title,
                 java.lang.String abstract_,
                 java.lang.String srs,
                 GM_Envelope latLonBoundingBox,
                 FeatureTypeList parentList,
                 java.lang.String[] keyword,
                 Operation[] operation,
                 MetadataURL[] metadataURL,
                 java.lang.String responsibleClassName,
                 java.net.URL configURL)
constructor initializing the class with the

Method Detail

getName

public java.lang.String getName()
The name of the feature type. This element is mandatory.

Specified by:
getName in interface FeatureType

setName

public void setName(java.lang.String name)
sets the name of the feature type.


getTitle

public java.lang.String getTitle()
The <Title> is a human-readable title to briefly identify this feature type in menus.

Specified by:
getTitle in interface FeatureType

setTitle

public void setTitle(java.lang.String title)
sets the title


getAbstract

public java.lang.String getAbstract()
The <Abstract> is a descriptive narrative for more information about the feature type.

Specified by:
getAbstract in interface FeatureType

setAbstract

public void setAbstract(java.lang.String abstract_)
sets the abstract


getKeywords

public java.lang.String[] getKeywords()
The <Keyword> element delimits short words to aid catalog searching.

Specified by:
getKeywords in interface FeatureType

addKeyword

public void addKeyword(java.lang.String keyword)
adds the keyword


setKeyword

public void setKeyword(java.lang.String[] keyword)
sets the keyword


getSrs

public java.lang.String getSrs()
The <SRS> element is used to indicate which spatial reference system should be used to express the state of a feature.

Specified by:
getSrs in interface FeatureType

setSrs

public void setSrs(java.lang.String srs)
sets the srs


getOperations

public Operation[] getOperations()
The <Operations> element defines which are operations are supported on a feature type. Any locally defined operations take precedence over any globally defined operations.

Specified by:
getOperations in interface FeatureType

addOperation

public void addOperation(Operation operation)
Adds an operation (only if it has not been defined yet).


setOperations

public void setOperations(Operation[] operation)
sets the operation


getLatLonBoundingBox

public GM_Envelope getLatLonBoundingBox()
The LatLonBoundingBox attributes indicate the edges of the enclosing rectangle in latitude/longitude decimal degrees (as in SRS EPSG:4326 [WGS1984 lat/lon]). Its purpose is to facilitate geographic searches without requiring coordinate transformations by the search engine.

Specified by:
getLatLonBoundingBox in interface FeatureType

setLatLonBoundingBox

public void setLatLonBoundingBox(GM_Envelope latLonBoundingBox)
sets the LatLonBoundingBox


getMetadataURL

public MetadataURL[] getMetadataURL()
A WFS may use zero or more <MetadataURL> elements to offer detailed, standardized metadata about the data inaparticularfeature type.The type attribute indicates the standard to which the metadata complies; the format attribute indicates how the metadata is structured. Two types are defined at present: ’TC211’ = ISO TC211 19115; FGDC = FGDC CSDGM.

Specified by:
getMetadataURL in interface FeatureType

addMetadataURL

public void addMetadataURL(MetadataURL metadataURL)
adds the metadataURL


setMetadataURL

public void setMetadataURL(MetadataURL[] metadataURL)
sets the metadataURL


getParentList

public FeatureTypeList getParentList()
returns an instance of the feature type list the feature belongs to.

Specified by:
getParentList in interface FeatureType

setParentList

public void setParentList(FeatureTypeList parentList)
sets an instance of the feature type list the feature belongs to.


getResponsibleClassName

public java.lang.String getResponsibleClassName()
returns the name of the class that's responsible for performing the operation.

Specified by:
getResponsibleClassName in interface FeatureType

setResponsibleClassName

public void setResponsibleClassName(java.lang.String responsibleClassName)
sets the name of the responsible class for handling this operation.


setConfigURL

public void setConfigURL(java.net.URL configURL)
sets the name of the configuration file of the responsible class


getConfigURL

public java.net.URL getConfigURL()
returns the name of the configuration file of the responsible class

Specified by:
getConfigURL in interface FeatureType

toString

public java.lang.String toString()