Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
CDO/Client
CDOObject Introduction
A CDOObject is basically an EObject with a handful of additional read-only features as the following java code shows:
public interface CDOObject extends EObject { public CDOClass cdoClass(); public CDOID cdoID(); public CDOState cdoState(); public CDOView cdoView(); public CDOResource cdoResource(); public CDORevision cdoRevision(); }
The method names differ from the regular Java getter notation to make it less likely that name collisions with your model namespace occur. To understand the details about the return types you should browse the JavaDoc.
CDOObject Categories
Model Type | Native | Legacy | Meta | |||
Dynamic | Generated | Unwoven | Woven | |||
Development Artifacts |
Ecore | Unaffected | N/A | |||
Genmodel | N/A | Slightly modified | Unaffected | |||
Instance Interface | CDOObject | EObject | EModelObject | |||
Statemachine Interface | CDOAdapter | CDOCallback | CDOMeta | |||
Location of Internal Values |
class | DynamicCDOObject | Java Byte Code | |||
store | CDOObject | N/A | ||||
view | CDOAdapter | CDOCallback | CDOMeta | |||
id | CDOSession | |||||
state | N/A | |||||
revision | ||||||
resource | ||||||
Location of Model Values per CDOState |
TRANSIENT | EObject | ||||
NEW | CDORevision | EObject and CDORevision | ||||
DIRTY | ||||||
CLEAN | EModelObject |
Wikis: CDO | Net4j | EMF | Eclipse
CDOObject Categories
Model Type | Native | Legacy | Meta | |||
Dynamic | Generated | Unwoven | Woven | |||
Development Artifacts |
Ecore | Unaffected | N/A | |||
Genmodel | N/A | Slightly modified | Unaffected | |||
Instance Interface | CDOObject | EObject | EModelObject | |||
Statemachine Interface | CDOAdapter | CDOCallback | CDOMeta | |||
Location of Internal Values |
class | DynamicCDOObject | Java Byte Code | |||
store | CDOObject | N/A | ||||
view | CDOAdapter | CDOCallback | CDOMeta | |||
id | CDOSession | |||||
state | N/A | |||||
revision | ||||||
resource | ||||||
Location of Model Values per CDOState |
TRANSIENT | EObject | ||||
NEW | CDORevision | EObject and CDORevision | ||||
DIRTY | ||||||
CLEAN | EModelObject |