Class TLcdWFSFeatureType
- All Implemented Interfaces:
ILcdDataObject
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addKeywords
(TLcdOWSKeywords aKeywords) Adds a keyword list.void
addMetadataURL
(TLcdWFSMetadataURL aMetadataURL) Adds a metadata url for the data associated to this feature type.void
addOtherSRS
(String aOtherSRS) Adds another Spatial Reference System.void
addWGS84BoundingBox
(TLcdOWSWGS84BoundingBox aWGS84BoundingBox) Adds a WGS84 bounding box for the data associated to this feature type.Gets the abstract.final TLcdLonLatBounds
Gets the combined WGS84 bounds of this feature type.Gets the default spatial reference system.Returns the value of the property that maps to theKeywords
element.getKeywords
(int aIndex) Gets the keyword list at a given position.int
Gets the number of keywords lists.Returns the value of the property that maps to theMetadataURL
element.getMetadataURL
(int aIndex) Gets the metadata url at a given position.int
Gets the number of metadata url's.getName()
Returns the value of the property that maps to theName
element.Returns the value of the property that maps to theOperations
element.Returns the value of the property that maps to theOtherCRS
element.getOtherSRS
(int aIndex) Gets the other spatial reference system at a given position.int
Gets the number of other spatial reference systems.Returns the value of the property that maps to theOutputFormats
element.getTitle()
Gets the title.Returns the value of the property that maps to theWGS84BoundingBox
element.getWGS84BoundingBox
(int aIndex) Gets the WGS84 bounding box at a given position.int
Gets the number of WGS84 bounding boxes for the data associated to this feature type.boolean
isNoSRS()
Gets true if no spatial reference system is set.void
removeKeywords
(int aIndex) Removes the keyword list at a given position.void
removeMetadataURL
(int aIndex) Removes the metadata url at a given position.void
removeOtherSRS
(int aIndex) Removes the other spatial reference system at a given position.void
removeWGS84BoundingBox
(int aIndex) Removes the WGS84 bounding box at a given position.void
setAbstract
(String aAbstract) Sets the abstract.void
setDefaultSRS
(String aDefaultSRS) Sets the default spatial reference system.void
Sets the value of the property that maps to theName
element.void
setNoSRS
(boolean aNoSRS) Sets no spatial reference system.void
setOperations
(TLcdWFSOperationList aValue) Sets the value of the property that maps to theOperations
element.void
Sets the value of the property that maps to theOutputFormats
element.void
Sets the title.toString()
Returns a string representation of the object.Methods inherited from class com.luciad.datamodel.TLcdDataObject
clone, clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
-
Constructor Details
-
TLcdWFSFeatureType
public TLcdWFSFeatureType()
-
-
Method Details
-
getTitle
Gets the title. Title of this feature type, normally used for display to a human.- Returns:
- the title.
-
setTitle
Sets the title. Title of this feature type, normally used for display to a human.- Parameters:
aTitle
- the title to be set.
-
getAbstract
Gets the abstract. Brief narrative description of this feature type, normally used for display to a human.- Returns:
- the abstract.
-
setAbstract
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
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
Gets the keyword list at a given position.- Parameters:
aIndex
- the index of the given position.- Returns:
- the keywords at the given position.
-
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
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
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
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
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
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
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
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
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
Returns a string representation of the object. In general, thetoString
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. ThetoString
method for classObject
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 classTLcdDataObject
- Returns:
- a string representation of the object.
-
getName
Returns the value of the property that maps to theName
element.Name of this feature type, including any namespace prefix.
- Returns:
- the value of the
NAME_PROPERTY
property.
-
setName
Sets the value of the property that maps to theName
element.Name of this feature type, including any namespace prefix.
- Parameters:
aValue
- the value to set for theNAME_PROPERTY
property.
-
getKeywords
Returns the value of the property that maps to theKeywords
element.- Returns:
- the value of the
KEYWORDS_PROPERTY
property.
-
getOtherSRS
Returns the value of the property that maps to theOtherCRS
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
Returns the value of the property that maps to theOperations
element.- Returns:
- the value of the
OPERATIONS_PROPERTY
property.
-
setOperations
Sets the value of the property that maps to theOperations
element.- Parameters:
aValue
- the value to set for theOPERATIONS_PROPERTY
property.
-
getOutputFormats
Returns the value of the property that maps to theOutputFormats
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
Sets the value of the property that maps to theOutputFormats
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 theOUTPUT_FORMATS_PROPERTY
property.
-
getWGS84BoundingBox
Returns the value of the property that maps to theWGS84BoundingBox
element.- Returns:
- the value of the
WGS84_BOUNDING_BOX_PROPERTY
property.
-
getMetadataURL
Returns the value of the property that maps to theMetadataURL
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.
-