|
Hi all,
can I set Castor to use
java.lang.Integer instead of int and java.lang.Boolean instead of
boolean.
I want that because I don't want to use the
generated methods has_.... when the variable is
of a built-in type like int or
boolean.
I know that I can set "org.exolab.castor.builder.primitivetowrapper=true" but what I
want is to
eliminate the has_... methods. I want to call the
get...() method for a boolean variable and I want
it to return "null" if the variable is not set.
Like a string variable.
Thanks.
Federico Kolliker Frers
Schlumberger Ltd. - Information Security Austin Technology Center |
