public class TLcyModelMetaDataContext extends Object
This context object defines everything related to the meta data of an ILcdModel
.
Typically the ILcdModelReference
and ILcdModelDescriptor
of the
ILcdModel
will be of interest, but other properties of the ILcdModel
could be used as well.
The ILcdLayer
and the ILcdView
in which the ILcdModel
is displayed are optionally provided as well.
Constructor and Description |
---|
TLcyModelMetaDataContext(ILcdModel aModel)
Creates a new context object for the meta data of the given
ILcdModel , with
null for the ILcdLayer and the ILcdView . |
TLcyModelMetaDataContext(ILcdModel aModel,
ILcdLayer aLayer,
ILcdView aView)
Creates a new context object for the meta data of the given
ILcdModel of the given
ILcdLayer . |
Modifier and Type | Method and Description |
---|---|
ILcdLayer |
getLayer()
Returns the layer in which the
ILcdModel is displayed. |
ILcdModel |
getModel()
Returns the
ILcdModel for which this object provides the meta data context. |
ILcdView |
getView()
Returns the
ILcdView in which the ILcdModel is displayed. |
String |
toString() |
public TLcyModelMetaDataContext(ILcdModel aModel)
ILcdModel
, with
null
for the ILcdLayer
and the ILcdView
.aModel
- The ILcdModel
for which this object provides the meta data context.
This must not be null
.public TLcyModelMetaDataContext(ILcdModel aModel, ILcdLayer aLayer, ILcdView aView)
ILcdModel
of the given
ILcdLayer
.aModel
- The ILcdModel
for which this object provides the context. This may
not be null
.aLayer
- The ILcdLayer
in which the model is displayed. This may be
null
if this information is not available.aView
- The ILcdView
in which the model is displayed. This may be
null
if this information is not available.public ILcdModel getModel()
ILcdModel
for which this object provides the meta data context.ILcdModel
for which this object provides the meta data context. This
will never be null
.public ILcdLayer getLayer()
ILcdModel
is displayed.ILcdModel
is displayed. This may be
null
.public ILcdView getView()
ILcdView
in which the ILcdModel
is displayed.ILcdView
in which the ILcdModel
is displayed. This may be
null
.