Constructor
new DesignatedObject(designator, object, context)
Creates a new designated object
Parameters:
Name | Type | Description |
---|---|---|
designator |
The part of the object that is designated | |
object |
The object that is designated | |
context |
The object's context |
- Source:
Members
designator
The part of the object that is designated.
- Source:
object
The object that is designated.
- Source:
Methods
getContext()
Retrieves the object's context.
- Source:
Returns:
The context
getDesignator()
Retrieves the designator associated to an object.
- Source:
Returns:
The designator
getObject()
Retrieves the object that is being designated.
- Source:
Returns:
The object
sameContext(cdo)
Checks if two designated objects have the same context.
Parameters:
Name | Type | Description |
---|---|---|
cdo |
The other designated object |
- Source:
Returns:
true if the two objects have the same context,
false otherwise