ILcdFeatured
interface has been deprecated in favor of ILcdDataObject
and TLcdDataModel
.@Deprecated public class TLcdFeaturedModelDescriptor extends TLcdModelDescriptor implements ILcdModelDescriptor,ILcdFeaturedDescriptor,ILcdFeaturedDescriptorProvider
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.
Modifier and Type | Field and Description |
---|---|
protected Class[] |
fFeatureClasses
Deprecated.
The features classes.
|
protected String[] |
fFeatureNames
Deprecated.
The features names.
|
Constructor and Description |
---|
TLcdFeaturedModelDescriptor()
Deprecated.
Constructs a new
TLcdFeaturedModelDescriptor without features. |
TLcdFeaturedModelDescriptor(String aSourceName,
String aTypeName,
String aDisplayName,
String[] aFeatureNames)
Deprecated.
Constructs a new
TLcdFeaturedModelDescriptor with the given
parameters. |
TLcdFeaturedModelDescriptor(String aSourceName,
String aTypeName,
String aDisplayName,
String[] aFeatureNames,
Class[] aFeatureClasses)
Deprecated.
Constructs a new
TLcdFeaturedModelDescriptor with the given
parameters. |
Modifier and Type | Method and Description |
---|---|
Class |
getFeatureClass(int aIndex)
Deprecated.
Returns the
Class of the feature at the given index. |
int |
getFeatureCount()
Deprecated.
Returns the number of features.
|
ILcdFeaturedDescriptor |
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.
|
String |
getFeatureName(int aIndex)
Deprecated.
Returns the name of the feature at the given index.
|
getDisplayName, getSourceName, getTypeName, setDisplayName, setSourceName, setTypeName, sourceNameToDisplayName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDisplayName, getSourceName, getTypeName
getFeatureUnitOfMeasure
protected String[] fFeatureNames
protected Class[] fFeatureClasses
public TLcdFeaturedModelDescriptor()
TLcdFeaturedModelDescriptor
without features.public TLcdFeaturedModelDescriptor(String aSourceName, String aTypeName, String aDisplayName, String[] aFeatureNames)
TLcdFeaturedModelDescriptor
with the given
parameters. The feature classes are all String classes.aSourceName
- the source name.aTypeName
- the type name.aDisplayName
- the display name.aFeatureNames
- the names of the features.public TLcdFeaturedModelDescriptor(String aSourceName, String aTypeName, String aDisplayName, String[] aFeatureNames, Class[] aFeatureClasses)
TLcdFeaturedModelDescriptor
with the given
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.public int getFeatureCount()
ILcdFeaturedDescriptor
getFeatureCount
in interface ILcdFeaturedDescriptor
public String getFeatureName(int aIndex)
ILcdFeaturedDescriptor
getFeatureName
in interface ILcdFeaturedDescriptor
aIndex
- a valid feature index.public int getFeatureIndex(String aName)
ILcdFeaturedDescriptor
getFeatureIndex
in interface ILcdFeaturedDescriptor
aName
- a feature name.public Class getFeatureClass(int aIndex)
ILcdFeaturedDescriptor
Class
of the feature at the given index.getFeatureClass
in interface ILcdFeaturedDescriptor
aIndex
- a valid feature index.Class
of the feature at the given index.public ILcdFeaturedDescriptor getFeaturedDescriptor(ILcdFeatured aFeatured)
getFeaturedDescriptor
in interface ILcdFeaturedDescriptorProvider
aFeatured
- a featured to get a descriptor for.