| Summary: | Enhance URI fragment format | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Eike Stepper <stepper> | ||||
| Component: | cdo.core | Assignee: | Eike Stepper <stepper> | ||||
| Status: | CLOSED FIXED | QA Contact: | Eike Stepper <stepper> | ||||
| Severity: | enhancement | ||||||
| Priority: | P3 | Keywords: | noteworthy | ||||
| Version: | 4.0 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | Appealing to a Broader Community | ||||||
| Attachments: |
|
||||||
|
Description
Eike Stepper
Created attachment 180568 [details]
Patch v1 - for future reference
The new format involves a single character as a type/subtype prefix for the id value (no slash anymore!):
public enum Type
{
NULL('N'),
OBJECT(' '), // Superceded by ObjectType.getID()
EXTERNAL_OBJECT('E'),
DANGLING_OBJECT('D'),
EXTERNAL_TEMP_OBJECT('e'),
TEMP_OBJECT('t'),
META('M'),
TEMP_META('m')
}
public enum ObjectType
{
LONG('L'),
STRING('S'),
LONG_WITH_CLASSIFIER('l'),
STRING_WITH_CLASSIFIER('s'),
UUID('U')
}
The following methods have been updated accordingly:
CDOIDUtil.write(StringBuilder, CDOID)
CDOIDUtil.read(String)
Committed to HEAD Available in R20110608-1407 |