← Back to team overview

oship-dev team mailing list archive

[Bug 603688] [NEW] Method root in UidBasedId should return an Uid.

 

Public bug reported:

Method root in org.openehr.rm.support.identification UidBasedId should return an Uid, but is returning a string. My suggestion is to move attributes rootPart and extensionPart from ObjectVersionId to its superclass UidBasedId. Then define the methods
1) root as returning rootPart, 
2) extension as returning extensionPart
3) hasExtension as returning true if extensionPart is not empty and false otherwise.

Both rootPart and extensionPart should be defined when initializing
either ObjectVersionId or HierObjectId subclasses.

** Affects: oship
     Importance: High
         Status: New

** Changed in: oship
   Importance: Undecided => High

** Changed in: oship
    Milestone: None => 1.5

-- 
Method root in UidBasedId should return an Uid.
https://bugs.launchpad.net/bugs/603688
You received this bug notification because you are a member of OSHIP
Development Team, which is subscribed to Open Source Health Information
Platform.

Status in Open Source Health Information Platform (OSHIP): New

Bug description:
Method root in org.openehr.rm.support.identification UidBasedId should return an Uid, but is returning a string. My suggestion is to move attributes rootPart and extensionPart from ObjectVersionId to its superclass UidBasedId. Then define the methods
1) root as returning rootPart, 
2) extension as returning extensionPart
3) hasExtension as returning true if extensionPart is not empty and false otherwise.

Both rootPart and extensionPart should be defined when initializing either ObjectVersionId or HierObjectId subclasses.





Follow ups

References