private void init(ModelClassFactory factory) { try { this.add(NM.class, false, 1, 10, new Object[]{ getMessage() }, "File Batch Count"); this.add(ST.class, false, 1, 80, new Object[]{ getMessage() }, "File Trailer Comment"); } catch(HL7Exception e) { log.error("Unexpected error creating FTS - this is probably a bug in the source code generator.", e); } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new NM(getMessage()); case 1: return new ST(getMessage()); default: return null; } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new NM(getMessage()); case 1: return new ST(getMessage()); default: return null; } }
private void init(ModelClassFactory factory) { try { this.add(NM.class, false, 1, 10, new Object[]{ getMessage() }, "File Batch Count"); this.add(ST.class, false, 1, 80, new Object[]{ getMessage() }, "File Trailer Comment"); } catch(HL7Exception e) { log.error("Unexpected error creating FTS - this is probably a bug in the source code generator.", e); } }