/** * <p> * Returns the number of existing repetitions of MF_LOCATION * </p> * */ public int getMF_LOCATIONReps() { return getReps("MF_LOCATION"); }
/** * <p> * Returns * MSH (Message Header) - creates it if necessary * </p> * * */ public MSH getMSH() { return getTyped("MSH", MSH.class); }
/** * Creates a new MFN_M05 message with custom ModelClassFactory. */ public MFN_M05(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_M05_MF_LOCATION.class, true, true); } catch(HL7Exception e) { log.error("Unexpected error creating MFN_M05 - this is probably a bug in the source code generator.", e); } }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of MF_LOCATION. * <p> * <p> * Note that unlike {@link #getMF_LOCATION()}, 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_M05_MF_LOCATION> getMF_LOCATIONAll() throws HL7Exception { return getAllAsList("MF_LOCATION", MFN_M05_MF_LOCATION.class); }
private void init(ModelClassFactory factory) { try { this.add(MSH.class, true, false); this.add(MFI.class, true, false); this.add(MFN_M05_MF_LOCATION.class, true, true); } catch(HL7Exception e) { log.error("Unexpected error creating MFN_M05 - this is probably a bug in the source code generator.", e); } }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of MF_LOCATION. * <p> * <p> * Note that unlike {@link #getMF_LOCATION()}, 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_M05_MF_LOCATION> getMF_LOCATIONAll() throws HL7Exception { return getAllAsList("MF_LOCATION", MFN_M05_MF_LOCATION.class); }
/** * <p> * Returns * the first repetition of * MF_LOCATION (a Group object) - creates it if necessary * </p> * * */ public MFN_M05_MF_LOCATION getMF_LOCATION() { return getTyped("MF_LOCATION", MFN_M05_MF_LOCATION.class); }
/** * <p> * Returns the number of existing repetitions of MF_LOCATION * </p> * */ public int getMF_LOCATIONReps() { return getReps("MF_LOCATION"); }
/** * Creates a new MFN_M05 message with custom ModelClassFactory. */ public MFN_M05(ModelClassFactory factory) { super(factory); init(factory); }
/** * <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_LOCATION (a Group object) - creates it if necessary * </p> * * */ public MFN_M05_MF_LOCATION getMF_LOCATION() { return getTyped("MF_LOCATION", MFN_M05_MF_LOCATION.class); }
/** * <p> * Returns * MFI (Master File Identification) - creates it if necessary * </p> * * */ public MFI getMFI() { return getTyped("MFI", MFI.class); }
/** * <p> * Returns a specific repetition of * MF_LOCATION (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_M05_MF_LOCATION getMF_LOCATION(int rep) { return getTyped("MF_LOCATION", rep, MFN_M05_MF_LOCATION.class); }
/** * <p> * Returns a specific repetition of * MF_LOCATION (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_M05_MF_LOCATION getMF_LOCATION(int rep) { return getTyped("MF_LOCATION", rep, MFN_M05_MF_LOCATION.class); }