Class TLcdMultilevelTiledModelDescriptor
- All Implemented Interfaces:
ILcdDataModelDescriptor
,ILcdModelDescriptor
,ILcdFeaturedDescriptor
,ILcdFeaturedDescriptorProvider
,Serializable
- Since:
- 6.0
- See Also:
-
Field Summary
Fields inherited from class com.luciad.model.TLcdFeaturedModelDescriptor
fFeatureClasses, fFeatureNames
-
Constructor Summary
ConstructorDescriptionTLcdMultilevelTiledModelDescriptor
(String aSourceName, String aDisplayName) Deprecated.Constructs a descriptor with no features.TLcdMultilevelTiledModelDescriptor
(String aSourceName, String aDisplayName, ILcdDataModelDescriptor aModelDescriptor) Deprecated.Constructs a descriptor, copying the features from anotherILcdDataModelDescriptor
.TLcdMultilevelTiledModelDescriptor
(String aSourceName, String aDisplayName, TLcdMultilevel2DBoundsIndexedModel aModel) Deprecated.Constructs a descriptor, where the model descriptor depends on the given model's default level and cumulative property.TLcdMultilevelTiledModelDescriptor
(String aSourceName, String aDisplayName, ILcdFeaturedDescriptor aDescriptor) Deprecated.Constructs a descriptor, copying the features from another ILcdFeaturedDescriptor.TLcdMultilevelTiledModelDescriptor
(String aSourceName, String aDisplayName, String[] aFeatureNames) Deprecated.Constructs a newTLcdFeaturedModelDescriptor
with the given parameters.TLcdMultilevelTiledModelDescriptor
(String aSourceName, String aDisplayName, String[] aFeatureNames, Class[] aFeatureClasses) Deprecated.Constructs a new TLcdFeaturedModelDescriptor with the given parameters. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the data model that describes the elements of the model.Deprecated.Returns a set containing all the data types of which instances can be elements in the model associated with this descriptor.Deprecated.Returns a set containing all the types of which instances can be used (including both top-level elements and child objects) in the model associated with this descriptor.Deprecated.Returns the type/format name of the data source.Methods inherited from class com.luciad.model.TLcdFeaturedModelDescriptor
getFeatureClass, getFeatureCount, getFeaturedDescriptor, getFeatureIndex, getFeatureName
Methods inherited from class com.luciad.model.TLcdModelDescriptor
getDisplayName, getSourceName, 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
-
Field Details
-
TYPE_NAME
Deprecated.- See Also:
-
-
Constructor Details
-
TLcdMultilevelTiledModelDescriptor
Deprecated.Constructs a descriptor with no features.- Parameters:
aSourceName
- - the source nameaDisplayName
- - the display name
-
TLcdMultilevelTiledModelDescriptor
public TLcdMultilevelTiledModelDescriptor(String aSourceName, String aDisplayName, TLcdMultilevel2DBoundsIndexedModel aModel) Deprecated.Constructs a descriptor, where the model descriptor depends on the given model's default level and cumulative property.- Parameters:
aSourceName
- - the source nameaDisplayName
- - the display nameaModel
- - the model of this descriptor
-
TLcdMultilevelTiledModelDescriptor
public TLcdMultilevelTiledModelDescriptor(String aSourceName, String aDisplayName, ILcdFeaturedDescriptor aDescriptor) Deprecated.Constructs a descriptor, copying the features from another ILcdFeaturedDescriptor.- Parameters:
aSourceName
- - the source nameaDisplayName
- - the display nameaDescriptor
- - the descriptor to copy features from
-
TLcdMultilevelTiledModelDescriptor
public TLcdMultilevelTiledModelDescriptor(String aSourceName, String aDisplayName, String[] aFeatureNames) Deprecated.Constructs a newTLcdFeaturedModelDescriptor
with the given parameters. The feature classes are all String classes.- Parameters:
aSourceName
- - the source nameaDisplayName
- - the type nameaFeatureNames
- - the names of the features
-
TLcdMultilevelTiledModelDescriptor
public TLcdMultilevelTiledModelDescriptor(String aSourceName, String aDisplayName, String[] aFeatureNames, Class[] aFeatureClasses) Deprecated.Constructs a new TLcdFeaturedModelDescriptor with the given parameters.- Parameters:
aSourceName
- - the source nameaDisplayName
- - the display nameaFeatureNames
- - the names of the featuresaFeatureClasses
- - the classes of the features
-
TLcdMultilevelTiledModelDescriptor
public TLcdMultilevelTiledModelDescriptor(String aSourceName, String aDisplayName, ILcdDataModelDescriptor aModelDescriptor) Deprecated.Constructs a descriptor, copying the features from anotherILcdDataModelDescriptor
.- Parameters:
aSourceName
- - the source nameaDisplayName
- - the display nameaModelDescriptor
- - the descriptor to copy the data model from
-
-
Method Details
-
getTypeName
Deprecated.Description copied from interface:ILcdModelDescriptor
Returns the type/format name of the data source. The data format String is an easy means to identify a format. It is not guaranteed to be unique, so additional checks may be necessary. This can be mif or shape, for instance.- Specified by:
getTypeName
in interfaceILcdModelDescriptor
- Overrides:
getTypeName
in classTLcdModelDescriptor
- Returns:
- the type name of the data source.
-
getDataModel
Deprecated.Description copied from interface:ILcdDataModelDescriptor
Returns the data model that describes the elements of the model. Note that not necessarily all data in the model will be of a type of this data model. Very likely, types from the dependencies of the returned data model are used as well.
In case the model accepts objects from multiple data models, an anonymous data model that depends on all these data models should be returned (see
TLcdDataModelBuilder.createAnonymousDataModel(java.util.Collection)
).- Specified by:
getDataModel
in interfaceILcdDataModelDescriptor
- Returns:
- the data model that describes the elements of the model
-
getModelElementTypes
Deprecated.Description copied from interface:ILcdDataModelDescriptor
Returns a set containing all the data types of which instances can be elements in the model associated with this descriptor. Implementations are free to limit the result to only include the types of which there are actually elements in the model; but they are not required to do so.
Implementations should return
null
in case they don't know which element types are present in the model.For each element of the model associated with this model descriptor, the following holds true :
getModelElementTypes().contains( element.getDataType() )
.- Specified by:
getModelElementTypes
in interfaceILcdDataModelDescriptor
- Returns:
- a set containing all the data types of which instances can be elements in the model associated with this descriptor
-
getModelTypes
Deprecated.Description copied from interface:ILcdDataModelDescriptor
Returns a set containing all the types of which instances can be used (including both top-level elements and child objects) in the model associated with this descriptor. Implementations are free to limit the result to only include the types of which there are actually instances in the model; but they are not required to do so.
A simple and correct implementation would be to return
getDataModel().getTypes()
. Implementations are encouraged to return a subset of this set if they can do so without spending an unreasonable amount of resources.Implementations should return
null
in case they don't know which types are present in the model.- Specified by:
getModelTypes
in interfaceILcdDataModelDescriptor
- Returns:
- a set containing all the data types of which instances can be used in the model associated with this descriptor
-