class ImportsValue {

    @Override
    public String toString() {
        final Collection<String> defaultImports = getDefaultImports().stream()
                .map(DefaultImport::toString)
                .collect(Collectors.toList());

        final Collection<String> wsdlImports = getWSDLImports().stream()
                .map(WSDLImport::toString)
                .collect(Collectors.toList());

        final String serializedValue = Stream.of(defaultImports, wsdlImports)
                .flatMap(Collection::stream)
                .collect(Collectors.joining(","));

        return serializedValue;
    }

    public  ImportsValue();
    public  ImportsValue(@MapsTo("defaultImports") final List<DefaultImport> defaultImports,
                        @MapsTo("wsdlImports") final List<WSDLImport> wsdlImports);

}