Interface ILcdVPFFeature

All Superinterfaces:
ILcdDataObject, ILcdFeatured, ILcdVPFFACCFeature, Serializable

public interface ILcdVPFFeature extends ILcdFeatured, ILcdDataObject, ILcdVPFFACCFeature
Represents a VPF feature (typically representing a real world object), having a FACC feature code and attributes, and associated with a VPF feature class.

Each VPF feature implements the ILcdDataObject interface, providing a unified LuciadLightspeed data view on the object, and the ILcdVPFFACCFeature interface, providing a DIGEST FACC view on the same object. See TLcdVPFFeatureClass for more information about the differences between these views.

A VPF feature belongs to one VPF feature class, which can be retrieved via this interface. The id of the feature, unique within its feature class, can also be retrieved and used to access feature information directly on the TLcdVPFFeatureClass.

  • Method Details

    • getVPFFeatureClass

      TLcdVPFFeatureClass getVPFFeatureClass()
      Returns the VPF feature class to which this feature belongs.
      Returns:
      the VPF feature class to which this feature belongs.
    • getVPFFeatureClassEntry

      int getVPFFeatureClassEntry()
      Returns the row number of this entity in the feature class table. This number can be used as a unique id to access feature attribute data in the associated TLcdVPFFeatureClass.
      Returns:
      The row number of this entity in the feature class table.
      See Also:
    • getFCode

      String getFCode()
      Deprecated.
      use ILcdVPFFACCFeature.getFeatureCode() instead.
      Returns the FACC feature code of this feature, describing the type of the object (for example, a road, a buoy, ...).
      Returns:
      The FACC feature code of this entity.
    • isCanBeReferenced

      boolean isCanBeReferenced()
      Returns true if this Java object can be safely referenced, false otherwise. For performance reasons, the same Java object can be reused for representing other data. In this case, the object should not be referenced, because the content (and thus meaning) of the object can change unexpectedly. If an object need to be stored but cannot be referenced, the clone() method should be used to obtain a referenceable copy of the object.
      Returns:
      true if this Java object can be safely referenced, false otherwise.
      See Also:
    • setCanBeReferenced

      void setCanBeReferenced(boolean aCanBeReferenced)
      Sets whether this object can be safely referenced or not.
      Parameters:
      aCanBeReferenced - boolean indicating whether this feature can be safely referenced or not.
      See Also:
    • clone

      Object clone()
      Creates a clone of this object, which can be safely referenced.
      Returns:
      a clone of this object.