Hello:

 

I've the following field that is of the type "enum".

 

private OrderEntryTypesEnumeration orderEntryType;;

 

public enum OrderEntryTypesEnumeration {

            INSTALAR,

            ALTINTERFACE,

            ALTSECURIZACAO,

            ALTTIPOACESSO,

            ALTVLAN,

            ALTDEBITOQOS,

            DESLIGAR,

            CANCELAR

      }

 

 

How can I map a XML file to an object of this type?

 

I've got the following code in XML map file, but it doesn't work:

 

<field name="OrderEntryType" >

      <bind-xml name="OrderEntryType" />

</field>

 

 

I also tried with type="enum" but it doesn't work.

 

 

 

Thank you

 

            Guerrinha

Reply via email to