DotAAS: Qualifiable naming unclear/unintuitive
An object that is instance of class Qualifiable has a rather weird naming convention, at least to me.
Qualifiable.qualifier
is of type Set[constraints]
, which in term constraints are either base.Formula
or base.Qualifier
.
In the XSD-schema, a qualifiable
therefore has the subelement 'qualifier', which makes sense, but as a logical consequence, this
<element maxOccurs="1" minOccurs="0" name="qualifier" type="aas:constraints_t"/>
now has children with name "qualifiers"
<element maxOccurs="unbounded" minOccurs="0" name="qualifiers" type="aas:constraint_t"/>
which in turn now can either have children as "formula" or "qualifier".
<element maxOccurs="1" minOccurs="0" name="formula" type="aas:formula_t"/>
<element maxOccurs="1" minOccurs="0" name="qualifier" type="aas:qualifier_t"/>
Am I wrong to find this rather messy and unintuitive?
I would suggest to change the name of base.Qualifiable
and its parameter Qualifiable.qualifier
to something that isn't so easily confused with base.Qualifier
, since they're obviously two very different things.