private void init(ModelClassFactory factory) { try { this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Blood Product Code"); this.add(CQ.class, false, 1, 267, new Object[]{ getMessage() }, "Blood Amount"); } catch(HL7Exception e) { log.error("Unexpected error creating BLC - this is probably a bug in the source code generator.", e); } }
private void init(ModelClassFactory factory) { try { this.add(CE.class, false, 1, 250, new Object[]{ getMessage() }, "Blood Product Code"); this.add(CQ.class, false, 1, 267, new Object[]{ getMessage() }, "Blood Amount"); } catch(HL7Exception e) { log.error("Unexpected error creating BLC - this is probably a bug in the source code generator.", e); } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new CE(getMessage()); case 1: return new CQ(getMessage()); default: return null; } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new CE(getMessage()); case 1: return new CQ(getMessage()); default: return null; } }