/** * <p> * Returns the number of existing repetitions of MF_TEST_NUMERIC * </p> * */ public int getMF_TEST_NUMERICReps() { return getReps("MF_TEST_NUMERIC"); }
/** * <p> * Returns * MFI (Master File Identification) - creates it if necessary * </p> * * */ public MFI getMFI() { return getTyped("MFI", MFI.class); }
/** * Creates a new MFN_M08 message with custom ModelClassFactory. */ public MFN_M08(ModelClassFactory factory) { super(factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(MSH.class, true, false); this.add(MFI.class, true, false); this.add(MFN_M08_MF_TEST_NUMERIC.class, true, true); } catch(HL7Exception e) { log.error("Unexpected error creating MFN_M08 - this is probably a bug in the source code generator.", e); } }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of MF_TEST_NUMERIC. * <p> * <p> * Note that unlike {@link #getMF_TEST_NUMERIC()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<MFN_M08_MF_TEST_NUMERIC> getMF_TEST_NUMERICAll() throws HL7Exception { return getAllAsList("MF_TEST_NUMERIC", MFN_M08_MF_TEST_NUMERIC.class); }
private void init(ModelClassFactory factory) { try { this.add(MSH.class, true, false); this.add(MFI.class, true, false); this.add(MFN_M08_MF_TEST_NUMERIC.class, true, true); } catch(HL7Exception e) { log.error("Unexpected error creating MFN_M08 - this is probably a bug in the source code generator.", e); } }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of MF_TEST_NUMERIC. * <p> * <p> * Note that unlike {@link #getMF_TEST_NUMERIC()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> * */ public java.util.List<MFN_M08_MF_TEST_NUMERIC> getMF_TEST_NUMERICAll() throws HL7Exception { return getAllAsList("MF_TEST_NUMERIC", MFN_M08_MF_TEST_NUMERIC.class); }
/** * <p> * Returns * MSH (Message Header) - creates it if necessary * </p> * * */ public MSH getMSH() { return getTyped("MSH", MSH.class); }
/** * Creates a new MFN_M08 message with custom ModelClassFactory. */ public MFN_M08(ModelClassFactory factory) { super(factory); init(factory); }
/** * <p> * Returns the number of existing repetitions of MF_TEST_NUMERIC * </p> * */ public int getMF_TEST_NUMERICReps() { return getReps("MF_TEST_NUMERIC"); }
/** * <p> * Returns * MSH (Message Header) - creates it if necessary * </p> * * */ public MSH getMSH() { return getTyped("MSH", MSH.class); }
/** * <p> * Returns * MFI (Master File Identification) - creates it if necessary * </p> * * */ public MFI getMFI() { return getTyped("MFI", MFI.class); }
/** * <p> * Returns * the first repetition of * MF_TEST_NUMERIC (a Group object) - creates it if necessary * </p> * * */ public MFN_M08_MF_TEST_NUMERIC getMF_TEST_NUMERIC() { return getTyped("MF_TEST_NUMERIC", MFN_M08_MF_TEST_NUMERIC.class); }
/** * <p> * Returns * the first repetition of * MF_TEST_NUMERIC (a Group object) - creates it if necessary * </p> * * */ public MFN_M08_MF_TEST_NUMERIC getMF_TEST_NUMERIC() { return getTyped("MF_TEST_NUMERIC", MFN_M08_MF_TEST_NUMERIC.class); }
/** * <p> * Returns a specific repetition of * MF_TEST_NUMERIC (a Group object) - 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 MFN_M08_MF_TEST_NUMERIC getMF_TEST_NUMERIC(int rep) { return getTyped("MF_TEST_NUMERIC", rep, MFN_M08_MF_TEST_NUMERIC.class); }
/** * <p> * Returns a specific repetition of * MF_TEST_NUMERIC (a Group object) - 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 MFN_M08_MF_TEST_NUMERIC getMF_TEST_NUMERIC(int rep) { return getTyped("MF_TEST_NUMERIC", rep, MFN_M08_MF_TEST_NUMERIC.class); }