/** * Returns * FTS-1: "File Batch Count" - creates it if necessary */ public NM getFts1_FileBatchCount() { NM retVal = this.getTypedField(1, 0); return retVal; }
/** * Creates a new FTS segment */ public FTS(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
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; } }
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; } }
/** * Returns * FTS-1: "File Batch Count" - creates it if necessary */ public NM getFileBatchCount() { NM retVal = this.getTypedField(1, 0); return retVal; }
/** * Creates a new FTS segment */ public FTS(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
/** * Returns * FTS-1: "File Batch Count" - creates it if necessary */ public NM getFileBatchCount() { NM retVal = this.getTypedField(1, 0); return retVal; }
/** * Returns * FTS-1: "File Batch Count" - creates it if necessary */ public NM getFts1_FileBatchCount() { NM retVal = this.getTypedField(1, 0); return retVal; }
/** * Returns * FTS-2: "File Trailer Comment" - creates it if necessary */ public ST getFileTrailerComment() { ST retVal = this.getTypedField(2, 0); return retVal; }
/** * Returns * FTS-2: "File Trailer Comment" - creates it if necessary */ public ST getFts2_FileTrailerComment() { ST retVal = this.getTypedField(2, 0); return retVal; }
/** * Returns * FTS-2: "File Trailer Comment" - creates it if necessary */ public ST getFts2_FileTrailerComment() { ST retVal = this.getTypedField(2, 0); return retVal; }
/** * Returns * FTS-2: "File Trailer Comment" - creates it if necessary */ public ST getFileTrailerComment() { ST retVal = this.getTypedField(2, 0); return retVal; }