← Back to team overview

oship-dev team mailing list archive

[Bug 610155] Re: some issues in class DvEncapsulated

 

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

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

-- 
some issues in class DvEncapsulated
https://bugs.launchpad.net/bugs/610155
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:
The attribute size in IDvEncapsulated must be required.
The invariant for size should be declared in the interface, shouldn't? 
Size_positive: size >= 0

The invariants for language and charset should be declared and checked using the internal terminology service:
Language_valid: language /= Void implies code_set(Code_set_id_languages).has_code(language)
Charset_valid: charset /= Void implies code_set(Code_set_id_character_sets).has_code(charset)





References