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.
The ILcdFeatured interface has been deprecated in favor of ILcdDataObject and TLcdDataModel.
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 Details

    • fFeatureNames

      protected String[] fFeatureNames
      Deprecated.
      The features names.
    • fFeatureClasses

      protected Class[] fFeatureClasses
      Deprecated.
      The features classes.
  • Constructor Details

    • TLcdFeaturedModelDescriptor

      public TLcdFeaturedModelDescriptor()
      Deprecated.
      Constructs a new TLcdFeaturedModelDescriptor without features.
    • TLcdFeaturedModelDescriptor

      public TLcdFeaturedModelDescriptor(String aSourceName, String aTypeName, String aDisplayName, String[] aFeatureNames)
      Deprecated.
      Constructs a new TLcdFeaturedModelDescriptor 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 new TLcdFeaturedModelDescriptor 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 interface ILcdFeaturedDescriptor
      Returns:
      the number of features.
    • getFeatureName

      public String getFeatureName(int aIndex)
      Deprecated.
      Description copied from interface: ILcdFeaturedDescriptor
      Returns the name of the feature at the given index.
      Specified by:
      getFeatureName in interface ILcdFeaturedDescriptor
      Parameters:
      aIndex - a valid feature index.
      Returns:
      the name of the feature at the given index.
    • getFeatureIndex

      public int getFeatureIndex(String aName)
      Deprecated.
      Description copied from interface: ILcdFeaturedDescriptor
      Returns the index of the given feature name if it exists, -1 otherwise.
      Specified by:
      getFeatureIndex in interface ILcdFeaturedDescriptor
      Parameters:
      aName - a feature name.
      Returns:
      the index of the given feature name if it exists, -1 otherwise.
    • getFeatureClass

      public Class getFeatureClass(int aIndex)
      Deprecated.
      Description copied from interface: ILcdFeaturedDescriptor
      Returns the Class of the feature at the given index.
      Specified by:
      getFeatureClass in interface ILcdFeaturedDescriptor
      Parameters:
      aIndex - a valid feature index.
      Returns:
      the Class of the feature at the given index.
    • getFeaturedDescriptor

      public ILcdFeaturedDescriptor getFeaturedDescriptor(ILcdFeatured aFeatured)
      Deprecated.
      Returns this object as featured descriptor as descriptor for the featured passed.
      Specified by:
      getFeaturedDescriptor in interface ILcdFeaturedDescriptorProvider
      Parameters:
      aFeatured - a featured to get a descriptor for.
      Returns:
      always returns this.