Class TLcdWFSFeatureType

java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.wfs.common.model.TLcdWFSFeatureType
All Implemented Interfaces:
ILcdDataObject, ILcdCloneable, ILcdDeepCloneable, Cloneable

public class TLcdWFSFeatureType extends TLcdDataObject
This class holds the information about a given feature type that is served by a WFS.
  • Constructor Details

    • TLcdWFSFeatureType

      public TLcdWFSFeatureType()
  • Method Details

    • getTitle

      public String getTitle()
      Gets the title.

      Title of this feature type, normally used for display to a human.

      Returns:
      the title.
    • setTitle

      public void setTitle(String aTitle)
      Sets the title.

      Title of this feature type, normally used for display to a human.

      Parameters:
      aTitle - the title to be set.
    • getAbstract

      public String getAbstract()
      Gets the abstract.

      Brief narrative description of this feature type, normally used for display to a human.

      Returns:
      the abstract.
    • setAbstract

      public void setAbstract(String aAbstract)
      Sets the abstract.

      Brief narrative description of this feature type, normally used for display to a human.

      Parameters:
      aAbstract - the abstract to be set.
    • addKeywords

      public void addKeywords(TLcdOWSKeywords aKeywords)
      Adds a keyword list.
      Parameters:
      aKeywords - the keyword list to be added.
    • getKeywordsCount

      public int getKeywordsCount()
      Gets the number of keywords lists.
      Returns:
      the number of keywords lists.
    • removeKeywords

      public void removeKeywords(int aIndex)
      Removes the keyword list at a given position.
      Parameters:
      aIndex - the index of the given position.
    • getKeywords

      public TLcdOWSKeywords getKeywords(int aIndex)
      Gets the keyword list at a given position.
      Parameters:
      aIndex - the index of the given position.
      Returns:
      the keywords at the given position.
    • getDefaultSRS

      public String getDefaultSRS()
      Gets the default spatial reference system.

      The DefaultSRS element indicated which spatial reference system shall be used by a WFS to express the state of a spatial feature if not otherwise explicitly identified within a query or transaction request.

      Returns:
      the default spatial reference system.
    • setDefaultSRS

      public void setDefaultSRS(String aDefaultSRS)
      Sets the default spatial reference system.

      The DefaultSRS element indicated which spatial reference system shall be used by a WFS to express the state of a spatial feature if not otherwise explicitly identified within a query or transaction request.

      Parameters:
      aDefaultSRS - the default spatial reference system to be set.
    • addOtherSRS

      public void addOtherSRS(String aOtherSRS)
      Adds another Spatial Reference System.
      Parameters:
      aOtherSRS - the other srs to be added.
    • getOtherSRSCount

      public int getOtherSRSCount()
      Gets the number of other spatial reference systems.
      Returns:
      the number of other spatial reference systems.
    • removeOtherSRS

      public void removeOtherSRS(int aIndex)
      Removes the other spatial reference system at a given position.
      Parameters:
      aIndex - the index of the given position.
    • getOtherSRS

      public String getOtherSRS(int aIndex)
      Gets the other spatial reference system at a given position.
      Parameters:
      aIndex - the index of the given position.
      Returns:
      the other srs at the given position.
    • isNoSRS

      public boolean isNoSRS()
      Gets true if no spatial reference system is set.
      Returns:
      true if no spatial reference system.
    • setNoSRS

      public void setNoSRS(boolean aNoSRS)
      Sets no spatial reference system.
      Parameters:
      aNoSRS - true if no spatial reference system.
    • addWGS84BoundingBox

      public void addWGS84BoundingBox(TLcdOWSWGS84BoundingBox aWGS84BoundingBox)
      Adds a WGS84 bounding box for the data associated to this feature type.
      Parameters:
      aWGS84BoundingBox - the WGS84 bounding box to be added.
    • getWGS84BoundingBoxCount

      public int getWGS84BoundingBoxCount()
      Gets the number of WGS84 bounding boxes for the data associated to this feature type.
      Returns:
      the number of WGS84 bounding boxes.
    • removeWGS84BoundingBox

      public void removeWGS84BoundingBox(int aIndex)
      Removes the WGS84 bounding box at a given position.
      Parameters:
      aIndex - the index of the given position.
    • getWGS84BoundingBox

      public TLcdOWSWGS84BoundingBox getWGS84BoundingBox(int aIndex)
      Gets the WGS84 bounding box at a given position.
      Parameters:
      aIndex - the index of the given position.
      Returns:
      the WGS84 bounding box at the given position.
    • getCombinedWGS84Bounds

      public final TLcdLonLatBounds getCombinedWGS84Bounds()
      Gets the combined WGS84 bounds of this feature type.

      This method computes and returns the union of this feature type's bounding boxes, which can be accessed through getWGS84BoundingBox(). Bounding boxes that have no lower or upper corner consisting of at least 2 coordinates or that use Double.NaN as coordinate value are ignored. If no valid bounding boxes are defined, null is returned.

      Returns:
      the combined WGS84 bounds of this feature type.
      Since:
      2017.0
    • addMetadataURL

      public void addMetadataURL(TLcdWFSMetadataURL aMetadataURL)
      Adds a metadata url for the data associated to this feature type.
      Parameters:
      aMetadataURL - the metadata url to be added.
    • getMetadataURLCount

      public int getMetadataURLCount()
      Gets the number of metadata url's.
      Returns:
      the number of metadata url's.
    • removeMetadataURL

      public void removeMetadataURL(int aIndex)
      Removes the metadata url at a given position.
      Parameters:
      aIndex - the index of the given position.
    • getMetadataURL

      public TLcdWFSMetadataURL getMetadataURL(int aIndex)
      Gets the metadata url at a given position.
      Parameters:
      aIndex - the index of the given position.
      Returns:
      the metadata url at the given position.
    • toString

      public String toString()
      Returns a string representation of the object. In general, the toString method returns a string that "textually represents" this object. The result should be a concise but informative representation that is easy for a person to read. It is recommended that all subclasses override this method.

      The toString method for class Object returns a string consisting of the name of the class of which the object is an instance, the at-sign character `@', and the unsigned hexadecimal representation of the hash code of the object. In other words, this method returns a string equal to the value of:

       getClass().getName() + '@' + Integer.toHexString(hashCode())
       
      Overrides:
      toString in class TLcdDataObject
      Returns:
      a string representation of the object.
    • getName

      public QName getName()
      Returns the value of the property that maps to the Name element.

      Name of this feature type, including any namespace prefix.

      Returns:
      the value of the NAME_PROPERTY property.
    • setName

      public void setName(QName aValue)
      Sets the value of the property that maps to the Name element.

      Name of this feature type, including any namespace prefix.

      Parameters:
      aValue - the value to set for the NAME_PROPERTY property.
    • getKeywords

      public List<TLcdOWSKeywords> getKeywords()
      Returns the value of the property that maps to the Keywords element.
      Returns:
      the value of the KEYWORDS_PROPERTY property.
    • getOtherSRS

      public List<String> getOtherSRS()
      Returns the value of the property that maps to the OtherCRS element.

      This element is used to indicate other supported CRSs within transaction and query requests. A 'supported CRS' means that the WFS supports the transformation of spatial properties between the wfs:OtherCRS and the internal storage CRS.

      Returns:
      the value of the OTHER_SRS_PROPERTY property.
    • getOperations

      public TLcdWFSOperationList getOperations()
      Returns the value of the property that maps to the Operations element.
      Returns:
      the value of the OPERATIONS_PROPERTY property.
    • setOperations

      public void setOperations(TLcdWFSOperationList aValue)
      Sets the value of the property that maps to the Operations element.
      Parameters:
      aValue - the value to set for the OPERATIONS_PROPERTY property.
    • getOutputFormats

      public TLcdWFSOutputFormatList getOutputFormats()
      Returns the value of the property that maps to the OutputFormats element.

      A list of Format elements each specifying the MIME type of supported output format. All servers shall support the value "text/xml; subtype=gml/3.2". Other output formats may be listed but this International Standard does give any specific meaning to these other values.

      Returns:
      the value of the OUTPUT_FORMATS_PROPERTY property.
    • setOutputFormats

      public void setOutputFormats(TLcdWFSOutputFormatList aValue)
      Sets the value of the property that maps to the OutputFormats element.

      A list of Format elements each specifying the MIME type of supported output format. All servers shall support the value "text/xml; subtype=gml/3.2". Other output formats may be listed but this International Standard does give any specific meaning to these other values.

      Parameters:
      aValue - the value to set for the OUTPUT_FORMATS_PROPERTY property.
    • getWGS84BoundingBox

      public List<TLcdOWSWGS84BoundingBox> getWGS84BoundingBox()
      Returns the value of the property that maps to the WGS84BoundingBox element.
      Returns:
      the value of the WGS84_BOUNDING_BOX_PROPERTY property.
    • getMetadataURL

      public List<TLcdWFSMetadataURL> getMetadataURL()
      Returns the value of the property that maps to the MetadataURL element.

      A WFS may use zero or more wfs:MetadataURL elements to offer detailed metadata about a particular feature type. The xlink:href element shall be used to reference any metadata. The optional about attribute may be used to reference the aspect of the element which includes this wfs:MetadataURL element that this metadata provides more information about.

      Returns:
      the value of the METADATA_URL_PROPERTY property.