Package com.luciad.wms.sld.model
Class TLcdSLDFeatureTypeConstraint
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.wms.sld.model.TLcdSLDFeatureTypeConstraint
- All Implemented Interfaces:
ILcdDataObject
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
Represents a FeatureTypeConstraint, which identifies a specific feature type and
supplies filtering.
-
Constructor Summary
ConstructorDescriptionCreates a newTLcdSLDFeatureTypeConstraint
instance.TLcdSLDFeatureTypeConstraint
(TLcdDataType aDataType) Creates a newTLcdSLDFeatureTypeConstraint
instance.TLcdSLDFeatureTypeConstraint
(String aFeatureTypeName, TLcdOGCFilter aFilter, TLcdSLDExtent[] aExtents) Creates a newTLcdSLDFeatureTypeConstraint
instance with the given feature type name, filter and extents. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addExtent
(TLcdSLDExtent aExtent) Adds the given extent, which is a key-value pair.Returns the value of the property that maps to theExtent
element.getExtent
(int aIndex) Returns the extent at the given index.int
Returns the number of extents associated with this feature type constraints.Returns the feature type name.Returns the value of the property that maps to theFeatureTypeName
element.Returns the filter.void
removeExtent
(TLcdSLDExtent aExtent) Removes the given extent.void
setFeatureTypeName
(String aFeatureTypeName) Sets the feature type name.void
setFeatureTypeQName
(QName aValue) Sets the value of the property that maps to theFeatureTypeName
element.void
setOGCFilter
(TLcdOGCFilter aFilter) Sets a filter.
-
Constructor Details
-
TLcdSLDFeatureTypeConstraint
public TLcdSLDFeatureTypeConstraint()Creates a newTLcdSLDFeatureTypeConstraint
instance. -
TLcdSLDFeatureTypeConstraint
public TLcdSLDFeatureTypeConstraint(String aFeatureTypeName, TLcdOGCFilter aFilter, TLcdSLDExtent[] aExtents) Creates a newTLcdSLDFeatureTypeConstraint
instance with the given feature type name, filter and extents.- Parameters:
aFeatureTypeName
- The feature type name of the constraint.aFilter
- The OGC filter of the constraint.aExtents
- The extents of the constraint.
-
TLcdSLDFeatureTypeConstraint
Creates a newTLcdSLDFeatureTypeConstraint
instance.
-
-
Method Details
-
setFeatureTypeName
Sets the feature type name.- Parameters:
aFeatureTypeName
- the feature type name.
-
getFeatureTypeName
Returns the feature type name.- Returns:
- the feature type name or
null
if no feature type name is defined.
-
setOGCFilter
Sets a filter.- Parameters:
aFilter
- a filter.
-
getOGCFilter
Returns the filter.- Returns:
- a filter or
null
if no filter is defined.
-
getExtentCount
public int getExtentCount()Returns the number of extents associated with this feature type constraints.- Returns:
- the number of extents associated with this feature type constraints.
-
getExtent
Returns the extent at the given index.- Parameters:
aIndex
- The index of the extent to be retrieved.- Returns:
- the extent at the given index.
-
addExtent
Adds the given extent, which is a key-value pair.- Parameters:
aExtent
- The extent to be added.
-
removeExtent
Removes the given extent.- Parameters:
aExtent
- The extent to be removed.
-
getFeatureTypeQName
Returns the value of the property that maps to theFeatureTypeName
element.- Returns:
- the value of the
FEATURE_TYPE_NAME_PROPERTY
property.
-
setFeatureTypeQName
Sets the value of the property that maps to theFeatureTypeName
element.- Parameters:
aValue
- the value to set for theFEATURE_TYPE_NAME_PROPERTY
property.
-
getExtent
Returns the value of the property that maps to theExtent
element.An Extent gives feature/coverage/raster/matrix dimension extent.
- Returns:
- the value of the
EXTENT_PROPERTY
property.
-