title: JAXB unmarshal returning null values
body: <p>I am using JAXB to convert XML file to java object</p>
  
  <p>I have looked a lot in the examples on the web but still get null values in my object when I unmarshall it to a java object</p>
  
  <p>what I miss?</p>
  
  <pre><code>File file = new File("BootloaderProtocol.xml");
  
          JAXBContext jaxbContext = JAXBContext.newInstance(Command.class);
  
          Unmarshaller jaxbUnmarshaller = jaxbContext.createUnmarshaller();
          Command commanda = (Command) jaxbUnmarshaller.unmarshal(file);
          System.out.println(commanda);
  </code></pre>
  
  <p>my class:</p>
  
  <pre><code> @XmlRootElement(name="Command")
   public class Command {
  
  
  String COMMAND_ID;
  String COMMAND_NAME;
  String COMMAND_CODES;
  
  
  public String getCOMMAND_ID() {
      return COMMAND_ID;
  }
  
  @XmlElement
  public void setCOMMAND_ID(String COMMAND_ID) {
      this.COMMAND_ID = COMMAND_ID;
  }
  public String getCOMMAND_NAME() {
      return COMMAND_NAME;
  }
  
  @XmlElement
  public void setCOMMAND_NAME(String COMMAND_NAME) {
      this.COMMAND_NAME = COMMAND_NAME;
  }
  
  public String getCOMMAND_CODES() {
      return COMMAND_CODES;
  }
  
  @XmlElement
  public void setCOMMAND_CODES(String COMMAND_CODES) {
      this.COMMAND_CODES = COMMAND_CODES;
  }
  </code></pre>
  
  <p>}</p>
  
  <p>and this my XML file:</p>
  
  <pre><code> &lt;Command&gt;
      &lt;COMMAND&gt;
          &lt;COMMAND_ID&gt;0xFE01&lt;/COMMAND_ID&gt;
          &lt;COMMAND_NAME&gt;Start bootloader&lt;/COMMAND_NAME&gt;
          &lt;COMMAND_CODES&gt;EE120301FE0900&lt;/COMMAND_CODES&gt;
      &lt;/COMMAND&gt;
  
  
    &lt;/Command&gt;
  </code></pre>