Package com.luciad.model
Class TLcdFeaturedModelDescriptor
java.lang.Object
com.luciad.model.TLcdModelDescriptor
com.luciad.model.TLcdFeaturedModelDescriptor
- All Implemented Interfaces:
ILcdModelDescriptor
,ILcdFeaturedDescriptor
,ILcdFeaturedDescriptorProvider
,Serializable
- Direct Known Subclasses:
TLcdAPP6AModelDescriptor
,TLcdDatabaseModelDescriptor
,TLcdMIFModelDescriptor
,TLcdMS2525bModelDescriptor
,TLcdMultilevelTiledModelDescriptor
,TLcdPOLModelDescriptor
,TLcdSHPModelDescriptor
,TLcyDrawingModelDescriptor
@Deprecated
public class TLcdFeaturedModelDescriptor
extends TLcdModelDescriptor
implements ILcdModelDescriptor, ILcdFeaturedDescriptor, ILcdFeaturedDescriptorProvider
Deprecated.
This class provides an implementation of
ILcdModelDescriptor
that is also an ILcdFeaturedDescriptor
. It has a list of
feature names, along with their corresponding classes.
The elements of the corresponding model will be ILcdFeatured
and have the same features.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDeprecated.Constructs a newTLcdFeaturedModelDescriptor
without features.TLcdFeaturedModelDescriptor
(String aSourceName, String aTypeName, String aDisplayName, String[] aFeatureNames) Deprecated.Constructs a newTLcdFeaturedModelDescriptor
with the given parameters.TLcdFeaturedModelDescriptor
(String aSourceName, String aTypeName, String aDisplayName, String[] aFeatureNames, Class[] aFeatureClasses) Deprecated.Constructs a newTLcdFeaturedModelDescriptor
with the given parameters. -
Method Summary
Modifier and TypeMethodDescriptiongetFeatureClass
(int aIndex) Deprecated.Returns theClass
of the feature at the given index.int
Deprecated.Returns the number of features.getFeaturedDescriptor
(ILcdFeatured aFeatured) Deprecated.Returns this object as featured descriptor as descriptor for the featured passed.int
getFeatureIndex
(String aName) Deprecated.Returns the index of the given feature name if it exists, -1 otherwise.getFeatureName
(int aIndex) Deprecated.Returns the name of the feature at the given index.Methods inherited from class com.luciad.model.TLcdModelDescriptor
getDisplayName, getSourceName, getTypeName, setDisplayName, setSourceName, setTypeName, sourceNameToDisplayName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.luciad.util.ILcdFeaturedDescriptor
getFeatureUnitOfMeasure
Methods inherited from interface com.luciad.model.ILcdModelDescriptor
getDisplayName, getSourceName, getTypeName
-
Field Details
-
fFeatureNames
Deprecated.The features names. -
fFeatureClasses
Deprecated.The features classes.
-
-
Constructor Details
-
TLcdFeaturedModelDescriptor
public TLcdFeaturedModelDescriptor()Deprecated.Constructs a newTLcdFeaturedModelDescriptor
without features. -
TLcdFeaturedModelDescriptor
public TLcdFeaturedModelDescriptor(String aSourceName, String aTypeName, String aDisplayName, String[] aFeatureNames) Deprecated.Constructs a newTLcdFeaturedModelDescriptor
with the given parameters. The feature classes are all String classes.- Parameters:
aSourceName
- the source name.aTypeName
- the type name.aDisplayName
- the display name.aFeatureNames
- the names of the features.
-
TLcdFeaturedModelDescriptor
public TLcdFeaturedModelDescriptor(String aSourceName, String aTypeName, String aDisplayName, String[] aFeatureNames, Class[] aFeatureClasses) Deprecated.Constructs a newTLcdFeaturedModelDescriptor
with the given parameters.- Parameters:
aSourceName
- the source name.aTypeName
- the type name.aDisplayName
- the display name.aFeatureNames
- the names of the features.aFeatureClasses
- the classes of the features.
-
-
Method Details
-
getFeatureCount
public int getFeatureCount()Deprecated.Description copied from interface:ILcdFeaturedDescriptor
Returns the number of features.- Specified by:
getFeatureCount
in interfaceILcdFeaturedDescriptor
- Returns:
- the number of features.
-
getFeatureName
Deprecated.Description copied from interface:ILcdFeaturedDescriptor
Returns the name of the feature at the given index.- Specified by:
getFeatureName
in interfaceILcdFeaturedDescriptor
- Parameters:
aIndex
- a valid feature index.- Returns:
- the name of the feature at the given index.
-
getFeatureIndex
Deprecated.Description copied from interface:ILcdFeaturedDescriptor
Returns the index of the given feature name if it exists, -1 otherwise.- Specified by:
getFeatureIndex
in interfaceILcdFeaturedDescriptor
- Parameters:
aName
- a feature name.- Returns:
- the index of the given feature name if it exists, -1 otherwise.
-
getFeatureClass
Deprecated.Description copied from interface:ILcdFeaturedDescriptor
Returns theClass
of the feature at the given index.- Specified by:
getFeatureClass
in interfaceILcdFeaturedDescriptor
- Parameters:
aIndex
- a valid feature index.- Returns:
- the
Class
of the feature at the given index.
-
getFeaturedDescriptor
Deprecated.Returns this object as featured descriptor as descriptor for the featured passed.- Specified by:
getFeaturedDescriptor
in interfaceILcdFeaturedDescriptorProvider
- Parameters:
aFeatured
- a featured to get a descriptor for.- Returns:
- always returns this.
-
ILcdFeatured
interface has been deprecated in favor ofILcdDataObject
andTLcdDataModel
.