Пример #1
0
 public void setName(String newName) {
   try {
     set_Name((java.lang.String) getNameConverter().toDB(newName));
   } catch (org.openxava.converters.ConversionException ex) {
     ex.printStackTrace();
     throw new RuntimeException(
         XavaResources.getString("generator.conversion_error", "Name", "Size", "String"));
   }
 }
Пример #2
0
 public int getReceptionist() {
   try {
     return ((Integer) getReceptionistConverter().toJava(get_Receptionist())).intValue();
   } catch (org.openxava.converters.ConversionException ex) {
     ex.printStackTrace();
     throw new RuntimeException(
         XavaResources.getString("generator.conversion_error", "Receptionist", "Office", "int"));
   }
 }
Пример #3
0
 public String getName() {
   try {
     return (String) getNameConverter().toJava(get_Name());
   } catch (org.openxava.converters.ConversionException ex) {
     ex.printStackTrace();
     throw new RuntimeException(
         XavaResources.getString("generator.conversion_error", "Name", "Size", "String"));
   }
 }
Пример #4
0
 public void setZoneNumber(int newZoneNumber) {
   try {
     set_ZoneNumber((java.lang.Integer) getZoneNumberConverter().toDB(new Integer(newZoneNumber)));
   } catch (org.openxava.converters.ConversionException ex) {
     ex.printStackTrace();
     throw new RuntimeException(
         XavaResources.getString("generator.conversion_error", "ZoneNumber", "Office", "int"));
   }
 }