Package com.luciad.format.vpf
Interface ILcdVPFFeature
- All Superinterfaces:
ILcdDataObject
,ILcdFeatured
,ILcdVPFFACCFeature
,Serializable
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 Summary
Modifier and TypeMethodDescriptionclone()
Creates a clone of this object, which can be safely referenced.getFCode()
Deprecated.Returns the VPF feature class to which this feature belongs.int
Returns the row number of this entity in the feature class table.boolean
Returnstrue
if this Java object can be safely referenced,false
otherwise.void
setCanBeReferenced
(boolean aCanBeReferenced) Sets whether this object can be safely referenced or not.Methods inherited from interface com.luciad.datamodel.ILcdDataObject
getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
Methods inherited from interface com.luciad.util.ILcdFeatured
canSetFeature, getFeature, getFeatureCount, setFeature
Methods inherited from interface com.luciad.format.vpf.ILcdVPFFACCFeature
getAttributeCode, getAttributeCount, getAttributeValue, getAttributeValue, getFeatureCode
-
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 associatedTLcdVPFFeatureClass
.- Returns:
- The row number of this entity in the feature class table.
- See Also:
-
getFCode
String getFCode()Deprecated.useILcdVPFFACCFeature.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()Returnstrue
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, theclone()
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.
-
ILcdVPFFACCFeature.getFeatureCode()
instead.