Interface ILcdGDFFeature

All Superinterfaces:
Cloneable, ILcdBounded, ILcdCloneable, ILcdDataObject, ILcdShape, Serializable
All Known Subinterfaces:
ILcdGDFAreaFeature, ILcdGDFComplexFeature, ILcdGDFLineFeature, ILcdGDFPointFeature

public interface ILcdGDFFeature extends ILcdShape, ILcdDataObject
This interface describes general properties of a GDF Feature. Features are the basic building blocks of GDF models, and represent real world objects (e.g. roads, lakes, buildings, ...) All objects contained in models decoded by the TLcdGDFModelDecoder will implement this interface.
Since:
5.1
  • Method Details

    • getFeatureCategory

      TLcdGDFFeatureCategory getFeatureCategory()
      Returns the feature category to which this feature belongs.
      Returns:
      the TLcdGDFFeatureCategory to which this feature belongs.
    • getFeatureClass

      TLcdGDFFeatureClass getFeatureClass()
      Returns the feature class to which this feature belongs.
      Returns:
      the feature class to which this feature belongs.
    • getSourceDescription

      ILcdGDFSourceDescription getSourceDescription()
      Returns the source description of this feature, or null if none exists.
      Returns:
      the source description of this feature.
    • getAttributeCount

      int getAttributeCount()
      Returns the number of attributes of this feature.
      Returns:
      the number of attributes of this feature.
    • getAttribute

      ILcdGDFAttribute getAttribute(int aIndex)
      Returns the attribute at the given index.
      Parameters:
      aIndex - the index of the attribute to be returned.
      Returns:
      the attribute at the given index.
      Throws:
      IndexOutOfBoundsException - if aIndex < 0 || aIndex >= getAttributeCount().
    • getRelationshipCount

      int getRelationshipCount()
      Returns the number of relationships of this feature.
      Returns:
      the number of relationships of this feature.
    • getRelationship

      ILcdGDFRelationship getRelationship(int aIndex)
      Returns the relationship at the given index.
      Parameters:
      aIndex - the index of the relationship to be returned.
      Returns:
      the relationship at the given index.
      Throws:
      IndexOutOfBoundsException - if aIndex < 0 || aIndex >= getRelationshipCount().
    • getFeatureKey

      TLcdGDFFeatureKey getFeatureKey()
      Returns the unique TLcdGDFFeatureKey of this feature.
      Returns:
      the feature key of this feature.