Hi,
I have a question about the constuctor in the CDvOrdinal class, it looks like this:
public CDvOrdinal(String path, Interval occurrences,
String nodeID, CAttribute parent, Set list,
DvOrdinal defaultValue, Ordinal assumedValue) {
super(list == null, path, “DvOrdinal”, occurrences, nodeID, null,
assumedValue, parent);
if (list != null && list.isEmpty()) {
throw new IllegalArgumentException(“list is empty”);
}
this.list = list == null ? null : new LinkedHashSet(list);
}
According to AOM 1.0.1 default_value is defined as “Like assumed_value” and assumed_value is defined as “Any”.
But then isnt the constructor in the CDvOrdinal class wrong since defaultValue and assumedValue are of different types? There defaultValue is of type DvOrdinal and assumedValue of type Ordinal.
Cheers,
Filip