this.collection = new SpecimenCollectionComponent(); return this.collection;
/** * @return {@link #collection} (Details concerning the specimen collection.) */ public SpecimenCollectionComponent getCollection() { if (this.collection == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create Specimen.collection"); else if (Configuration.doAutoCreate()) this.collection = new SpecimenCollectionComponent(); // cc return this.collection; }
this.collection = new SpecimenCollectionComponent(); return this.collection;
public SpecimenCollectionComponent copy() { SpecimenCollectionComponent dst = new SpecimenCollectionComponent(); copyValues(dst); dst.collector = collector == null ? null : collector.copy(); dst.collected = collected == null ? null : collected.copy(); dst.duration = duration == null ? null : duration.copy(); dst.quantity = quantity == null ? null : quantity.copy(); dst.method = method == null ? null : method.copy(); dst.bodySite = bodySite == null ? null : bodySite.copy(); dst.fastingStatus = fastingStatus == null ? null : fastingStatus.copy(); return dst; }
/** * @return {@link #collection} (Details concerning the specimen collection.) */ public SpecimenCollectionComponent getCollection() { if (this.collection == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create Specimen.collection"); else if (Configuration.doAutoCreate()) this.collection = new SpecimenCollectionComponent(); // cc return this.collection; }
public SpecimenCollectionComponent copy() { SpecimenCollectionComponent dst = new SpecimenCollectionComponent(); copyValues(dst); dst.collector = collector == null ? null : collector.copy(); dst.collected = collected == null ? null : collected.copy(); dst.duration = duration == null ? null : duration.copy(); dst.quantity = quantity == null ? null : quantity.copy(); dst.method = method == null ? null : method.copy(); dst.bodySite = bodySite == null ? null : bodySite.copy(); dst.fastingStatus = fastingStatus == null ? null : fastingStatus.copy(); return dst; }