title: Class has two properties of the same name "actionsList"
body: <p>still have some problems with jaxb !</p>
  
  <p>In fact yesterday i changed my code in the way to find the issue to jaxb and interfaces and since that i have this problem with the two properties with the same name...</p>
  
  <p>I looked for but i have a special case of @XmlElements{...}.</p>
  
  <p>If i write like this it works</p>
  
  <pre><code>@XmlAccessorType(XmlAccessType.FIELD)
  public class Event {
  
  String name;
  @XmlElements(value = {
          @XmlElement(type=FTPSend.class),
          @XmlElement(type=SFTPSend.class),
          @XmlElement(type=MailSend.class),
          @XmlElement(type=ServerToServerSend.class)
      })
  ArrayList&lt;IAction&gt; actionsList = new ArrayList&lt;IAction&gt;();
  
  public Event(){
  
  }
  
  public Event(String name) {
      super();
      this.name = name;
  }
  
  public String getName() {
      return name;
  }
  
  public void setName(String name) {
      this.name = name;
  }
  
  public ArrayList&lt;IAction&gt; getActionsList() {
      return actionsList;
  }
  
  public void setActionsList(ArrayList&lt;IAction&gt; actionsList) {
      this.actionsList = actionsList;
  }
  </code></pre>
  
  <p>}</p>
  
  <p>But if i add the @XmlElement, i have two errors, one with jaxb can't handle interfaces and the other one with same name</p>
  
  <pre><code>@XmlAccessorType(XmlAccessType.FIELD)
  public class Event {
  
  String name;
  @XmlElements(value = {
          @XmlElement(type=FTPSend.class),
          @XmlElement(type=SFTPSend.class),
          @XmlElement(type=MailSend.class),
          @XmlElement(type=ServerToServerSend.class)
      })
  ArrayList&lt;IAction&gt; actionsList = new ArrayList&lt;IAction&gt;();
  
  public Event(){
  
  }
  
  public Event(String name) {
      super();
      this.name = name;
  }
  
  public String getName() {
      return name;
  }
  
  public void setName(String name) {
      this.name = name;
  }
  
  **@XmlElement**
  public ArrayList&lt;IAction&gt; getActionsList() {
      return actionsList;
  }
  
  public void setActionsList(ArrayList&lt;IAction&gt; actionsList) {
      this.actionsList = actionsList;
  }
  </code></pre>
  
  <p>}</p>
  
  <p>And unfortunately i need to add the @XmlElement to build my xml file</p>