private void init(ModelClassFactory factory) { try { this.add(MSH.class, true, false); this.add(SFT.class, false, true); this.add(UAC.class, false, false); this.add(QRD.class, true, false); this.add(QRF.class, false, false); } catch(HL7Exception e) { log.error("Unexpected error creating QRY_A19 - this is probably a bug in the source code generator.", e); } }
/** * <p> * Returns the number of existing repetitions of SFT * </p> * */ public int getSFTReps() { return getReps("SFT"); }
/** * <p> * Returns * QRF (Original style query filter) - creates it if necessary * </p> * * */ public QRF getQRF() { return getTyped("QRF", QRF.class); }
/** * Creates a new QRY_A19 message with custom ModelClassFactory. */ public QRY_A19(ModelClassFactory factory) { super(factory); init(factory); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of SFT. * <p> * <p> * Note that unlike {@link #getSFT()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<SFT> getSFTAll() throws HL7Exception { return getAllAsList("SFT", SFT.class); }
/** * Creates a new QRY_A19 message with custom ModelClassFactory. */ public QRY_A19(ModelClassFactory factory) { super(factory); init(factory); }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of SFT. * <p> * <p> * Note that unlike {@link #getSFT()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<SFT> getSFTAll() throws HL7Exception { return getAllAsList("SFT", SFT.class); }
/** * <p> * Returns * MSH (Message Header) - creates it if necessary * </p> * * */ public MSH getMSH() { return getTyped("MSH", MSH.class); }
private void init(ModelClassFactory factory) { try { this.add(MSH.class, true, false); this.add(SFT.class, false, true); this.add(UAC.class, false, false); this.add(QRD.class, true, false); this.add(QRF.class, false, false); } catch(HL7Exception e) { log.error("Unexpected error creating QRY_A19 - this is probably a bug in the source code generator.", e); } }
/** * <p> * Returns the number of existing repetitions of SFT * </p> * */ public int getSFTReps() { return getReps("SFT"); }
/** * <p> * Returns * QRD (Original-Style Query Definition) - creates it if necessary * </p> * * */ public QRD getQRD() { return getTyped("QRD", QRD.class); }
/** * <p> * Returns * the first repetition of * SFT (Software Segment) - creates it if necessary * </p> * * */ public SFT getSFT() { return getTyped("SFT", SFT.class); }
/** * <p> * Returns * UAC (User Authentication Credential Segment) - creates it if necessary * </p> * * */ public UAC getUAC() { return getTyped("UAC", UAC.class); }
/** * <p> * Returns * UAC (User Authentication Credential Segment) - creates it if necessary * </p> * * */ public UAC getUAC() { return getTyped("UAC", UAC.class); }
/** * <p> * Returns * QRD (Original-Style Query Definition) - creates it if necessary * </p> * * */ public QRD getQRD() { return getTyped("QRD", QRD.class); }
/** * <p> * Returns * QRF (Original style query filter) - creates it if necessary * </p> * * */ public QRF getQRF() { return getTyped("QRF", QRF.class); }
/** * <p> * Returns a specific repetition of * SFT (Software Segment) - creates it if necessary * </p> * * * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0) * @throws HL7Exception if the repetition requested is more than one * greater than the number of existing repetitions. */ public SFT getSFT(int rep) { return getTyped("SFT", rep, SFT.class); }
/** * <p> * Returns * MSH (Message Header) - creates it if necessary * </p> * * */ public MSH getMSH() { return getTyped("MSH", MSH.class); }
/** * <p> * Returns * the first repetition of * SFT (Software Segment) - creates it if necessary * </p> * * */ public SFT getSFT() { return getTyped("SFT", SFT.class); }
/** * <p> * Returns a specific repetition of * SFT (Software Segment) - creates it if necessary * </p> * * * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0) * @throws HL7Exception if the repetition requested is more than one * greater than the number of existing repetitions. */ public SFT getSFT(int rep) { return getTyped("SFT", rep, SFT.class); }