Currently only AttributeValues with one value are supported.
To handle multiple AttributeValues the following changes have to be done:
The convert(...) method of the DataTypeAttributes must take the AttributeValue itself and not a string anymore:
Florian and René have discussed the necessary changes. These are listed below:
The interface DataTypeAttribute<E> must be changed at convert-Method from:
All implementations of the interface have to be adjusted, so that they accordingly convert the 'List<?> jaxbRepresentation'. These are 16 implementations.
The AttributeDesignatorType must be refactored at addAndConvertAttrValue. Remove the 'get(0)' and the cast.
The same has to be done at AttributeValueType.handle(...) and TargetMatcherImpl.match(...)
A howto should be written for the handling of custom "complex datatypes"
All according Unit tests need to be refactored. Integration Tests should be written that prove the exact behaviour