public class TLcdDomainObjectContext extends Object
ILcdModel
in
which it is contained, and the ILcdLayer
and the ILcdView
in which it
is displayed.Constructor and Description |
---|
TLcdDomainObjectContext(Object aDomainObject,
ILcdModel aModel,
ILcdLayer aLayer,
ILcdView aView)
Creates a new context instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Object |
getDomainObject()
Returns the domain object for which this object provides the context.
|
ILcdLayer |
getLayer()
Returns the
ILcdLayer in which the domain object is displayed. |
ILcdModel |
getModel()
Returns the model in which the domain object is contained.
|
ILcdView |
getView()
Returns the
ILcdView in which the domain object is displayed. |
int |
hashCode() |
String |
toString() |
public TLcdDomainObjectContext(Object aDomainObject, ILcdModel aModel, ILcdLayer aLayer, ILcdView aView)
aDomainObject
- The domain object for which this object provides the context. This must not
be null
.aModel
- The ILcdModel
that contains the aDomainObject
.
This may be null
if this information is not available.aLayer
- The ILcdLayer
in which aModel
is
displayed. This may be null
if this information is not available.aView
- The ILcdView
in which aLayer
is
displayed. This may be null
if this information is not available.public ILcdModel getModel()
null
.public Object getDomainObject()
null
.public ILcdLayer getLayer()
ILcdLayer
in which the domain object is displayed.ILcdLayer
in which the domain object is displayed.
This may be null
.public ILcdView getView()
ILcdView
in which the domain object is displayed.ILcdView
in which the domain object is displayed.
This may be null
.