private void init(ModelClassFactory factory) { try { this.add(SI.class, false, 1, 4, new Object[]{ getMessage() }, "SET ID - DISPLAY DATA"); this.add(SI.class, false, 1, 4, new Object[]{ getMessage() }, "DISPLAY LEVEL"); this.add(TX.class, true, 1, 300, new Object[]{ getMessage() }, "DATA LINE"); this.add(ST.class, false, 1, 2, new Object[]{ getMessage() }, "LOGICAL BREAK POINT"); this.add(TX.class, false, 1, 20, new Object[]{ getMessage() }, "RESULT ID"); } catch(HL7Exception e) { log.error("Unexpected error creating DSP - this is probably a bug in the source code generator.", e); } }
/** * Returns * DSP-2: "DISPLAY LEVEL" - creates it if necessary */ public SI getDISPLAYLEVEL() { SI retVal = this.getTypedField(2, 0); return retVal; }
/** * Creates a new DSP segment */ public DSP(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new SI(getMessage()); case 1: return new SI(getMessage()); case 2: return new TX(getMessage()); case 3: return new ST(getMessage()); case 4: return new TX(getMessage()); default: return null; } }
/** {@inheritDoc} */ protected Type createNewTypeWithoutReflection(int field) { switch (field) { case 0: return new SI(getMessage()); case 1: return new SI(getMessage()); case 2: return new TX(getMessage()); case 3: return new ST(getMessage()); case 4: return new TX(getMessage()); default: return null; } }
/** * Returns * DSP-2: "DISPLAY LEVEL" - creates it if necessary */ public SI getDsp2_DISPLAYLEVEL() { SI retVal = this.getTypedField(2, 0); return retVal; }
private void init(ModelClassFactory factory) { try { this.add(SI.class, false, 1, 4, new Object[]{ getMessage() }, "SET ID - DISPLAY DATA"); this.add(SI.class, false, 1, 4, new Object[]{ getMessage() }, "DISPLAY LEVEL"); this.add(TX.class, true, 1, 300, new Object[]{ getMessage() }, "DATA LINE"); this.add(ST.class, false, 1, 2, new Object[]{ getMessage() }, "LOGICAL BREAK POINT"); this.add(TX.class, false, 1, 20, new Object[]{ getMessage() }, "RESULT ID"); } catch(HL7Exception e) { log.error("Unexpected error creating DSP - this is probably a bug in the source code generator.", e); } }
/** * Creates a new DSP segment */ public DSP(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
/** * Returns * DSP-3: "DATA LINE" - creates it if necessary */ public TX getDATALINE() { TX retVal = this.getTypedField(3, 0); return retVal; }
/** * Returns * DSP-4: "LOGICAL BREAK POINT" - creates it if necessary */ public ST getDsp4_LOGICALBREAKPOINT() { ST retVal = this.getTypedField(4, 0); return retVal; }
/** * Returns * DSP-4: "LOGICAL BREAK POINT" - creates it if necessary */ public ST getDsp4_LOGICALBREAKPOINT() { ST retVal = this.getTypedField(4, 0); return retVal; }
/** * Returns * DSP-5: "RESULT ID" - creates it if necessary */ public TX getDsp5_RESULTID() { TX retVal = this.getTypedField(5, 0); return retVal; }
/** * Returns * DSP-2: "DISPLAY LEVEL" - creates it if necessary */ public SI getDsp2_DISPLAYLEVEL() { SI retVal = this.getTypedField(2, 0); return retVal; }
/** * Returns * DSP-4: "LOGICAL BREAK POINT" - creates it if necessary */ public ST getLOGICALBREAKPOINT() { ST retVal = this.getTypedField(4, 0); return retVal; }
/** * Returns * DSP-5: "RESULT ID" - creates it if necessary */ public TX getRESULTID() { TX retVal = this.getTypedField(5, 0); return retVal; }
/** * Returns * DSP-5: "RESULT ID" - creates it if necessary */ public TX getDsp5_RESULTID() { TX retVal = this.getTypedField(5, 0); return retVal; }
/** * Returns * DSP-1: "SET ID - DISPLAY DATA" - creates it if necessary */ public SI getDsp1_SETIDDISPLAYDATA() { SI retVal = this.getTypedField(1, 0); return retVal; }
/** * Returns * DSP-1: "SET ID - DISPLAY DATA" - creates it if necessary */ public SI getSETIDDISPLAYDATA() { SI retVal = this.getTypedField(1, 0); return retVal; }
/** * Returns * DSP-3: "DATA LINE" - creates it if necessary */ public TX getDATALINE() { TX retVal = this.getTypedField(3, 0); return retVal; }
/** * Returns * DSP-3: "DATA LINE" - creates it if necessary */ public TX getDsp3_DATALINE() { TX retVal = this.getTypedField(3, 0); return retVal; }