public class TLcdWFSFeatureType extends TLcdDataObject
Constructor and Description |
---|
TLcdWFSFeatureType() |
Modifier and Type | Method and Description |
---|---|
void |
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.
|
String |
getAbstract()
Gets the abstract.
|
TLcdLonLatBounds |
getCombinedWGS84Bounds()
Gets the combined WGS84 bounds of this feature type.
|
String |
getDefaultSRS()
Gets the default spatial reference system.
|
List<TLcdOWSKeywords> |
getKeywords()
Returns the value of the property that maps to the
Keywords element. |
TLcdOWSKeywords |
getKeywords(int aIndex)
Gets the keyword list at a given position.
|
int |
getKeywordsCount()
Gets the number of keywords lists.
|
List<TLcdWFSMetadataURL> |
getMetadataURL()
Returns the value of the property that maps to the
MetadataURL element. |
TLcdWFSMetadataURL |
getMetadataURL(int aIndex)
Gets the metadata url at a given position.
|
int |
getMetadataURLCount()
Gets the number of metadata url's.
|
QName |
getName()
Returns the value of the property that maps to the
Name element. |
TLcdWFSOperationList |
getOperations()
Returns the value of the property that maps to the
Operations element. |
List<String> |
getOtherSRS()
Returns the value of the property that maps to the
OtherCRS element. |
String |
getOtherSRS(int aIndex)
Gets the other spatial reference system at a given position.
|
int |
getOtherSRSCount()
Gets the number of other spatial reference systems.
|
TLcdWFSOutputFormatList |
getOutputFormats()
Returns the value of the property that maps to the
OutputFormats element. |
String |
getTitle()
Gets the title.
|
List<TLcdOWSWGS84BoundingBox> |
getWGS84BoundingBox()
Returns the value of the property that maps to the
WGS84BoundingBox element. |
TLcdOWSWGS84BoundingBox |
getWGS84BoundingBox(int aIndex)
Gets the WGS84 bounding box at a given position.
|
int |
getWGS84BoundingBoxCount()
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 |
setName(QName aValue)
Sets the value of the property that maps to the
Name element. |
void |
setNoSRS(boolean aNoSRS)
Sets no spatial reference system.
|
void |
setOperations(TLcdWFSOperationList aValue)
Sets the value of the property that maps to the
Operations element. |
void |
setOutputFormats(TLcdWFSOutputFormatList aValue)
Sets the value of the property that maps to the
OutputFormats element. |
void |
setTitle(String aTitle)
Sets the title.
|
String |
toString()
Returns a string representation of the object.
|
clone, clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
public String getTitle()
public void setTitle(String aTitle)
aTitle
- the title to be set.public String getAbstract()
public void setAbstract(String aAbstract)
aAbstract
- the abstract to be set.public void addKeywords(TLcdOWSKeywords aKeywords)
aKeywords
- the keyword list to be added.public int getKeywordsCount()
public void removeKeywords(int aIndex)
aIndex
- the index of the given position.public TLcdOWSKeywords getKeywords(int aIndex)
aIndex
- the index of the given position.public String getDefaultSRS()
public void setDefaultSRS(String aDefaultSRS)
aDefaultSRS
- the default spatial reference system to be set.public void addOtherSRS(String aOtherSRS)
aOtherSRS
- the other srs to be added.public int getOtherSRSCount()
public void removeOtherSRS(int aIndex)
aIndex
- the index of the given position.public String getOtherSRS(int aIndex)
aIndex
- the index of the given position.public boolean isNoSRS()
public void setNoSRS(boolean aNoSRS)
aNoSRS
- true if no spatial reference system.public void addWGS84BoundingBox(TLcdOWSWGS84BoundingBox aWGS84BoundingBox)
aWGS84BoundingBox
- the WGS84 bounding box to be added.public int getWGS84BoundingBoxCount()
public void removeWGS84BoundingBox(int aIndex)
aIndex
- the index of the given position.public TLcdOWSWGS84BoundingBox getWGS84BoundingBox(int aIndex)
aIndex
- the index of the given position.public final TLcdLonLatBounds getCombinedWGS84Bounds()
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.
public void addMetadataURL(TLcdWFSMetadataURL aMetadataURL)
aMetadataURL
- the metadata url to be added.public int getMetadataURLCount()
public void removeMetadataURL(int aIndex)
aIndex
- the index of the given position.public TLcdWFSMetadataURL getMetadataURL(int aIndex)
aIndex
- the index of the given position.public String toString()
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())
toString
in class TLcdDataObject
public QName getName()
Name
element.
Name of this feature type, including any namespace prefix.
NAME_PROPERTY
property.public void setName(QName aValue)
Name
element.
Name of this feature type, including any namespace prefix.
aValue
- the value to set for the NAME_PROPERTY
property.public List<TLcdOWSKeywords> getKeywords()
Keywords
element.KEYWORDS_PROPERTY
property.public List<String> getOtherSRS()
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.
OTHER_SRS_PROPERTY
property.public TLcdWFSOperationList getOperations()
Operations
element.OPERATIONS_PROPERTY
property.public void setOperations(TLcdWFSOperationList aValue)
Operations
element.aValue
- the value to set for the OPERATIONS_PROPERTY
property.public TLcdWFSOutputFormatList getOutputFormats()
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.
OUTPUT_FORMATS_PROPERTY
property.public void setOutputFormats(TLcdWFSOutputFormatList aValue)
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.
aValue
- the value to set for the OUTPUT_FORMATS_PROPERTY
property.public List<TLcdOWSWGS84BoundingBox> getWGS84BoundingBox()
WGS84BoundingBox
element.WGS84_BOUNDING_BOX_PROPERTY
property.public List<TLcdWFSMetadataURL> getMetadataURL()
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.
METADATA_URL_PROPERTY
property.