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