{
try {
RteType target = (RteType) object;
// if null, use delete method for optional primitives
if (value == null) {
target.deleteNumber();
return;
}
target.setNumber( ((java.lang.Long) value).longValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());