/** * <p> * Returns a non-modifiable List containing all current existing repetitions of PERSONNEL_RESOURCE. * <p> * <p> * Note that unlike {@link #getPERSONNEL_RESOURCE()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> */ public java.util.List<SRR_S01_PERSONNEL_RESOURCE> getPERSONNEL_RESOURCEAll() throws HL7Exception { return getAllAsList("PERSONNEL_RESOURCE", SRR_S01_PERSONNEL_RESOURCE.class); }
/** * Returns the number of existing repetitions of LOCATION_RESOURCE */ public int getLOCATION_RESOURCEReps() { return getReps("LOCATION_RESOURCE"); }
/** * Returns * the first repetition of * SERVICE (a Group object) - creates it if necessary */ public SRR_S01_SERVICE getSERVICE() { SRR_S01_SERVICE retVal = getTyped("SERVICE", SRR_S01_SERVICE.class); return retVal; }
/** * Creates a new SRR_S01_RESOURCES group */ public SRR_S01_RESOURCES(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(RGS.class, true, false, false); this.add(SRR_S01_SERVICE.class, false, true, false); this.add(SRR_S01_GENERAL_RESOURCE.class, false, true, false); this.add(SRR_S01_LOCATION_RESOURCE.class, false, true, false); this.add(SRR_S01_PERSONNEL_RESOURCE.class, false, true, false); } catch(HL7Exception e) { log.error("Unexpected error creating SRR_S01_RESOURCES - this is probably a bug in the source code generator.", e); } }
/** * Creates a new SRR_S01_RESOURCES group */ public SRR_S01_RESOURCES(Group parent, ModelClassFactory factory) { super(parent, factory); init(factory); }
private void init(ModelClassFactory factory) { try { this.add(RGS.class, true, false, false); this.add(SRR_S01_SERVICE.class, false, true, false); this.add(SRR_S01_GENERAL_RESOURCE.class, false, true, false); this.add(SRR_S01_LOCATION_RESOURCE.class, false, true, false); this.add(SRR_S01_PERSONNEL_RESOURCE.class, false, true, false); } catch(HL7Exception e) { log.error("Unexpected error creating SRR_S01_RESOURCES - this is probably a bug in the source code generator.", e); } }
/** * Returns * the first repetition of * LOCATION_RESOURCE (a Group object) - creates it if necessary */ public SRR_S01_LOCATION_RESOURCE getLOCATION_RESOURCE() { SRR_S01_LOCATION_RESOURCE retVal = getTyped("LOCATION_RESOURCE", SRR_S01_LOCATION_RESOURCE.class); return retVal; }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of GENERAL_RESOURCE. * <p> * <p> * Note that unlike {@link #getGENERAL_RESOURCE()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> */ public java.util.List<SRR_S01_GENERAL_RESOURCE> getGENERAL_RESOURCEAll() throws HL7Exception { return getAllAsList("GENERAL_RESOURCE", SRR_S01_GENERAL_RESOURCE.class); }
/** * Returns the number of existing repetitions of SERVICE */ public int getSERVICEReps() { return getReps("SERVICE"); }
/** * Returns * the first repetition of * LOCATION_RESOURCE (a Group object) - creates it if necessary */ public SRR_S01_LOCATION_RESOURCE getLOCATION_RESOURCE() { SRR_S01_LOCATION_RESOURCE retVal = getTyped("LOCATION_RESOURCE", SRR_S01_LOCATION_RESOURCE.class); return retVal; }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of GENERAL_RESOURCE. * <p> * <p> * Note that unlike {@link #getGENERAL_RESOURCE()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> */ public java.util.List<SRR_S01_GENERAL_RESOURCE> getGENERAL_RESOURCEAll() throws HL7Exception { return getAllAsList("GENERAL_RESOURCE", SRR_S01_GENERAL_RESOURCE.class); }
/** * Returns the number of existing repetitions of LOCATION_RESOURCE */ public int getLOCATION_RESOURCEReps() { return getReps("LOCATION_RESOURCE"); }
/** * Returns a specific repetition of * SERVICE (a Group object) - creates it if necessary * * @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 SRR_S01_SERVICE getSERVICE(int rep) { SRR_S01_SERVICE retVal = getTyped("SERVICE", rep, SRR_S01_SERVICE.class); return retVal; }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of SERVICE. * <p> * <p> * Note that unlike {@link #getSERVICE()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> */ public java.util.List<SRR_S01_SERVICE> getSERVICEAll() throws HL7Exception { return getAllAsList("SERVICE", SRR_S01_SERVICE.class); }
/** * Returns the number of existing repetitions of SERVICE */ public int getSERVICEReps() { return getReps("SERVICE"); }
/** * Returns a specific repetition of * LOCATION_RESOURCE (a Group object) - creates it if necessary * * @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 SRR_S01_LOCATION_RESOURCE getLOCATION_RESOURCE(int rep) { SRR_S01_LOCATION_RESOURCE retVal = getTyped("LOCATION_RESOURCE", rep, SRR_S01_LOCATION_RESOURCE.class); return retVal; }
/** * <p> * Returns a non-modifiable List containing all current existing repetitions of SERVICE. * <p> * <p> * Note that unlike {@link #getSERVICE()}, this method will not create any reps * if none are already present, so an empty list may be returned. * </p> */ public java.util.List<SRR_S01_SERVICE> getSERVICEAll() throws HL7Exception { return getAllAsList("SERVICE", SRR_S01_SERVICE.class); }
/** * Returns the number of existing repetitions of PERSONNEL_RESOURCE */ public int getPERSONNEL_RESOURCEReps() { return getReps("PERSONNEL_RESOURCE"); }
/** * Returns a specific repetition of * PERSONNEL_RESOURCE (a Group object) - creates it if necessary * * @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 SRR_S01_PERSONNEL_RESOURCE getPERSONNEL_RESOURCE(int rep) { SRR_S01_PERSONNEL_RESOURCE retVal = getTyped("PERSONNEL_RESOURCE", rep, SRR_S01_PERSONNEL_RESOURCE.class); return retVal; }