ILcdFeatured
interface has been deprecated in favor of ILcdDataObject
and TLcdDataModel
.@Deprecated public interface ILcdFeatured extends Serializable
An ILcdFeatured
object has features that can be indexed using
an integer. Meta-information on the features may be given by a corresponding
ILcdFeaturedDescriptor
object (possibly the same object), which
provides feature names and feature classes. The indices of an
ILcdFeatured
range from 0 to getFeatureCount() - 1
.
See also the ILcdDataObject
interface, as this is the preferred way in
LuciadLightspeed for new code to provide a generic data API.
ILcdFeaturedDescriptor
Modifier and Type | Method and Description |
---|---|
boolean |
canSetFeature(int aIndex)
Deprecated.
Checks whether the specified feature is editable.
|
Object |
getFeature(int aIndex)
Deprecated.
Returns the feature
Object at the given index. |
int |
getFeatureCount()
Deprecated.
Returns the number of features.
|
void |
setFeature(int aIndex,
Object aFeature)
Deprecated.
Sets the feature
Object at the given index. |
int getFeatureCount()
Object getFeature(int aIndex) throws IndexOutOfBoundsException
Object
at the given index.aIndex
- a valid feature index.Object
at the given index.IndexOutOfBoundsException
- when an index is chosen greater than the result of getFeatureCount.setFeature(int, java.lang.Object)
void setFeature(int aIndex, Object aFeature) throws IllegalArgumentException
Object
at the given index.aIndex
- a valid feature index.aFeature
- the new feature Object
.IllegalArgumentException
- if the feature can't be set.getFeature(int)
,
canSetFeature(int)
boolean canSetFeature(int aIndex)
aIndex
- a valid feature index.