title: Enum Type in WSDL representation
body: <p>A WSDL representation as below : </p>
  
  <pre><code>&lt;xs:simpleType name="customerType"&gt;
      &lt;xs:restriction base="xs:string"&gt;
          &lt;xs:enumeration value="PRIVATE"/&gt;
          &lt;xs:enumeration value="BUSINESS"/&gt;
      &lt;/xs:restriction&gt;
  &lt;/xs:simpleType&gt;
  </code></pre>
  
  <p>resulted in the code as below by cxf-codegen-plugin: </p>
  
  <pre><code>public enum CustomerType { 
      PRIVATE, BUSINESS 
  } 
  </code></pre>
  
  <p>Can be represented in WSDL as: </p>
  
  <p>How can we represent enum in WSDL so that the cxf-codegen-plugin can generate code as below: </p>
  
  <pre><code>public enum CustomerType { 
          PRIVATE{public BigInteger getNcid() { 
                  return new BigInteger("1"); 
  }, 
  BUSINESS{public BigInteger getNcid() { 
                  return new BigInteger("2"); 
  } 
  
  public abstract BigInteger getNcid(); 
      }
  </code></pre>
  
  <p>If we can't have cxf-codegen generate this what is the best way we can handle this case in java. I really appreciate your help.</p>