Should DV_MULTIMEDIA.data be a mandatory field? + simplifications

Description

Right now it has 0..1 occurrence and I think because of the semantics of datatype, data should be 1..1: there is no sense in creating a multimedia type without data IMHO.

There is the uri field also, so I thing data and uri are alternatives but one of them should be present. There is no invariant about this in the model.

Also I would suggest to have two types of DV_MULTIMEDIA, internal and external, instead of using the same class for these two purposes (needs extra methods, needs extra XOR invariants, etc.)

Environment

None

Status

Reporter

Pablo Pazos

Labels

Components

Affects versions

RM Release 1.0.3

Priority

Minor
Configure