bergie/VIE — Issue #76: Add minCount/maxCount to Attribute class
Author: neogermi
Created: 2012-01-27 12:56:53+00:00
State: open

We need to add capabilities to express counts of attributes on the ontological level within VIE. Besides this feature whish that came from @ruKurz, this would also help in addressing issue #34 and #21.

A proposal is to add the fields
```Attribute.minCount```
```Attribute.maxCount```

to the Attribute class, with default values set to ```0``` and ```Number.MAX_VALUE```.
Two constraints:

* minCount needs always to be ```>= 0```
* maxCount needs always to be ```>= minCount ```.

This can be implemented straightforward. The only big issue lies within the multiple inheritance of attributes from other types.