Class TLcdSLDFeatureTypeConstraint

java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.wms.sld.model.TLcdSLDFeatureTypeConstraint
All Implemented Interfaces:
ILcdDataObject, ILcdCloneable, ILcdDeepCloneable, Cloneable

public class TLcdSLDFeatureTypeConstraint extends TLcdDataObject
Represents a FeatureTypeConstraint, which identifies a specific feature type and supplies filtering.
  • Constructor Details

    • TLcdSLDFeatureTypeConstraint

      public TLcdSLDFeatureTypeConstraint()
      Creates a new TLcdSLDFeatureTypeConstraint instance.
    • TLcdSLDFeatureTypeConstraint

      public TLcdSLDFeatureTypeConstraint(String aFeatureTypeName, TLcdOGCFilter aFilter, TLcdSLDExtent[] aExtents)
      Creates a new TLcdSLDFeatureTypeConstraint 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

      public TLcdSLDFeatureTypeConstraint(TLcdDataType aDataType)
      Creates a new TLcdSLDFeatureTypeConstraint instance.
  • Method Details

    • setFeatureTypeName

      public void setFeatureTypeName(String aFeatureTypeName)
      Sets the feature type name.
      Parameters:
      aFeatureTypeName - the feature type name.
    • getFeatureTypeName

      public String getFeatureTypeName()
      Returns the feature type name.
      Returns:
      the feature type name or null if no feature type name is defined.
    • setOGCFilter

      public void setOGCFilter(TLcdOGCFilter aFilter)
      Sets a filter.
      Parameters:
      aFilter - a filter.
    • getOGCFilter

      public TLcdOGCFilter 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

      public TLcdSLDExtent getExtent(int aIndex)
      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

      public void addExtent(TLcdSLDExtent aExtent)
      Adds the given extent, which is a key-value pair.
      Parameters:
      aExtent - The extent to be added.
    • removeExtent

      public void removeExtent(TLcdSLDExtent aExtent)
      Removes the given extent.
      Parameters:
      aExtent - The extent to be removed.
    • getFeatureTypeQName

      public QName getFeatureTypeQName()
      Returns the value of the property that maps to the FeatureTypeName element.
      Returns:
      the value of the FEATURE_TYPE_NAME_PROPERTY property.
    • setFeatureTypeQName

      public void setFeatureTypeQName(QName aValue)
      Sets the value of the property that maps to the FeatureTypeName element.
      Parameters:
      aValue - the value to set for the FEATURE_TYPE_NAME_PROPERTY property.
    • getExtent

      public List<TLcdSLDExtent> getExtent()
      Returns the value of the property that maps to the Extent element.

      An Extent gives feature/coverage/raster/matrix dimension extent.

      Returns:
      the value of the EXTENT_PROPERTY property.