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
@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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Constructs a newTLcdFeaturedModelDescriptorwithout features.TLcdFeaturedModelDescriptor(String aSourceName, String aTypeName, String aDisplayName, String[] aFeatureNames) Deprecated.Constructs a newTLcdFeaturedModelDescriptorwith the given parameters.TLcdFeaturedModelDescriptor(String aSourceName, String aTypeName, String aDisplayName, String[] aFeatureNames, Class[] aFeatureClasses) Deprecated.Constructs a newTLcdFeaturedModelDescriptorwith the given parameters. -
Method Summary
Modifier and TypeMethodDescriptiongetFeatureClass(int aIndex) Deprecated.Returns theClassof the feature at the given index.intDeprecated.Returns the number of features.getFeaturedDescriptor(ILcdFeatured aFeatured) Deprecated.Returns this object as featured descriptor as descriptor for the featured passed.intgetFeatureIndex(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, sourceNameToDisplayNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.luciad.util.ILcdFeaturedDescriptor
getFeatureUnitOfMeasureMethods 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 newTLcdFeaturedModelDescriptorwithout features. -
TLcdFeaturedModelDescriptor
public TLcdFeaturedModelDescriptor(String aSourceName, String aTypeName, String aDisplayName, String[] aFeatureNames) Deprecated.Constructs a newTLcdFeaturedModelDescriptorwith 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 newTLcdFeaturedModelDescriptorwith 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:ILcdFeaturedDescriptorReturns the number of features.- Specified by:
getFeatureCountin interfaceILcdFeaturedDescriptor- Returns:
- the number of features.
-
getFeatureName
Deprecated.Description copied from interface:ILcdFeaturedDescriptorReturns the name of the feature at the given index.- Specified by:
getFeatureNamein interfaceILcdFeaturedDescriptor- Parameters:
aIndex- a valid feature index.- Returns:
- the name of the feature at the given index.
-
getFeatureIndex
Deprecated.Description copied from interface:ILcdFeaturedDescriptorReturns the index of the given feature name if it exists, -1 otherwise.- Specified by:
getFeatureIndexin 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:ILcdFeaturedDescriptorReturns theClassof the feature at the given index.- Specified by:
getFeatureClassin interfaceILcdFeaturedDescriptor- Parameters:
aIndex- a valid feature index.- Returns:
- the
Classof the feature at the given index.
-
getFeaturedDescriptor
Deprecated.Returns this object as featured descriptor as descriptor for the featured passed.- Specified by:
getFeaturedDescriptorin interfaceILcdFeaturedDescriptorProvider- Parameters:
aFeatured- a featured to get a descriptor for.- Returns:
- always returns this.
-
ILcdFeaturedinterface has been deprecated in favor ofILcdDataObjectandTLcdDataModel.