1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
| switch (type) {
case (Types.DATE):
nvh.setNullDateValue(property);
case (Types.DATETIME):
nvh.setNullDateTimeValue(property);
case (Types.MONEY):
nvh.setNullMoneyValue(property);
case (Types.BOOLEAN):
nvh.setValue(property, NvElementNullHandler.NULL_BOOLEAN);
case (Types.INT):
System.out.println("NvElementI[] size is before add null value :"+this.nvh.getNvElementITable().length);
nvh.setValue(property, NvElementNullHandler.NULL_INT);
System.out.println("NvElementI[] size is just after add null value :"+this.nvh.getNvElementITable().length);
case (Types.LONG):
System.out.println("NvElementI[] size is just 1 after add null value :"+this.nvh.getNvElementITable().length);
nvh.setValue(property, NvElementNullHandler.NULL_LONG);
case (Types.STRING):
System.out.println("NvElementI[] size is just 2 after add null value :"+this.nvh.getNvElementITable().length);
nvh.setValue(property,NvElementNullHandler.NULL_STRING);
case (Types.CHAR):
System.out.println("NvElementI[] size is just 3 after add null value :"+this.nvh.getNvElementITable().length);
nvh.setValue(property, NvElementNullHandler.NULL_CHAR);
case (Types.DOUBLE):
System.out.println("NvElementI[] size is just 4 after add null value :"+this.nvh.getNvElementITable().length);
nvh.setValue(property, NvElementNullHandler.NULL_DOUBLE);
} |
Partager