highsource / highsource/jaxb2-basics

multiple choice element that implement thesame base class

Open
#79 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
119
Forks
49
PR merge metrics
No merged PRs in 30d

Description

I have a question.

I've got the following xsd element

```xml







```

and in my bindings file
```xml

...

nl.jaxb2-basics.example.dto.AbstractType

...

nl.jaxb2-basics.example.dto.AbstractType

...

nl.jaxb2-basics.example.dto.AbstractType

```

The generated code now creates a List of Serializables, which is not really what I want. The Simplify plugin looks promising, but would give me three seperate lists.

Is there a way for me to make it a generated list of AbstractTypes using the inheritance plugin.

PS: I simplified the code a bit.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.