Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/**
* Autogenerated by Avro
*
* DO NOT EDIT DIRECTLY
*/
package org.gel.models.report.avro;
@SuppressWarnings("all")
/** The questions for the cancer program exit questionnaire at case level */
@org.apache.avro.specific.AvroGenerated
public class CancerCaseLevelQuestions extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord {
public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"CancerCaseLevelQuestions\",\"namespace\":\"org.gel.models.report.avro\",\"doc\":\"The questions for the cancer program exit questionnaire at case level\",\"fields\":[{\"name\":\"total_review_time\",\"type\":\"double\",\"doc\":\"Total time taken to review/collate evidence for variants (hours).\\n Include all literature review time, consultation with relevant experts etc.\"},{\"name\":\"mdt1_time\",\"type\":\"double\",\"doc\":\"Time taken to discuss case at MDT (hours).\"},{\"name\":\"mdt2_time\",\"type\":[\"null\",\"double\"],\"doc\":\"If the case is discussed at a 2nd MDT please enter time here (hours).\"},{\"name\":\"validation_assay_time\",\"type\":[\"null\",\"double\"],\"doc\":\"Total time to design ALL validation assay(s) for case (hours).\\n Only applicable if it is necessary to design a new assay to validate the variant.\"},{\"name\":\"wet_validation_time\",\"type\":[\"null\",\"double\"],\"doc\":\"Technical Laboratory Validation. Total time for validation test wet work for all variants (hours).\"},{\"name\":\"analytical_validation_time\",\"type\":[\"null\",\"double\"],\"doc\":\"Analytical Laboratory Validation. Total time for analysis of validation results for all variants (hours).\"},{\"name\":\"primary_reporting_time\",\"type\":\"double\",\"doc\":\"Primary Reporting. Time taken to complete primary reporting stage (hours).\"},{\"name\":\"primary_authorisation_time\",\"type\":\"double\",\"doc\":\"Report Authorisation. Time taken to check and authorise report (hours).\"},{\"name\":\"report_distribution_time\",\"type\":\"double\",\"doc\":\"Report Distribution.\\n Please enter, where possible/accessible how long it takes for the result to be conveyed to the patient.\\n E.g. via letter from the clinician (days).\"},{\"name\":\"total_time\",\"type\":\"double\",\"doc\":\"Total time from result to report.\\n The total time taken from when the analysis of the WGS results started to a report being received\\n by the patient include any 'waiting' time (days).\"},{\"name\":\"reviewedInMdtWga\",\"type\":{\"type\":\"enum\",\"name\":\"ReviewedParts\",\"doc\":\"An enumeration for Which parts of the WGA were reviewed?:\\n* `domain_1`: Domain 1 only\\n* `domain_1_and_2`: Domains 1 and 2\\n* `domain_1_2_and_suplementary`: Domains 1, 2 and supplementary analysis\",\"symbols\":[\"domain_1\",\"domain_1_and_2\",\"domain_1_2_and_suplementary\",\"somatic_if_relevant\"]},\"doc\":\"Which parts of the WGA were reviewed?\"},{\"name\":\"actionableVariants\",\"type\":{\"type\":\"enum\",\"name\":\"CancerActionableVariants\",\"doc\":\"Are the variants actionable?\\n* `yes`: yes\\n* `no`: no\",\"symbols\":[\"yes\",\"no\"]},\"doc\":\"Were potentially actionable variants detected?\"}]}");
public static org.apache.avro.Schema getClassSchema() { return SCHEMA$; }
/** Total time taken to review/collate evidence for variants (hours).
Include all literature review time, consultation with relevant experts etc. */
private double total_review_time;
/** Time taken to discuss case at MDT (hours). */
private double mdt1_time;
/** If the case is discussed at a 2nd MDT please enter time here (hours). */
private java.lang.Double mdt2_time;
/** Total time to design ALL validation assay(s) for case (hours).
Only applicable if it is necessary to design a new assay to validate the variant. */
private java.lang.Double validation_assay_time;
/** Technical Laboratory Validation. Total time for validation test wet work for all variants (hours). */
private java.lang.Double wet_validation_time;
/** Analytical Laboratory Validation. Total time for analysis of validation results for all variants (hours). */
private java.lang.Double analytical_validation_time;
/** Primary Reporting. Time taken to complete primary reporting stage (hours). */
private double primary_reporting_time;
/** Report Authorisation. Time taken to check and authorise report (hours). */
private double primary_authorisation_time;
/** Report Distribution.
Please enter, where possible/accessible how long it takes for the result to be conveyed to the patient.
E.g. via letter from the clinician (days). */
private double report_distribution_time;
/** Total time from result to report.
The total time taken from when the analysis of the WGS results started to a report being received
by the patient include any 'waiting' time (days). */
private double total_time;
/** Which parts of the WGA were reviewed? */
private org.gel.models.report.avro.ReviewedParts reviewedInMdtWga;
/** Were potentially actionable variants detected? */
private org.gel.models.report.avro.CancerActionableVariants actionableVariants;
/**
* Default constructor. Note that this does not initialize fields
* to their default values from the schema. If that is desired then
* one should use newBuilder().
*/
public CancerCaseLevelQuestions() {}
/**
* All-args constructor.
*/
public CancerCaseLevelQuestions(java.lang.Double total_review_time, java.lang.Double mdt1_time, java.lang.Double mdt2_time, java.lang.Double validation_assay_time, java.lang.Double wet_validation_time, java.lang.Double analytical_validation_time, java.lang.Double primary_reporting_time, java.lang.Double primary_authorisation_time, java.lang.Double report_distribution_time, java.lang.Double total_time, org.gel.models.report.avro.ReviewedParts reviewedInMdtWga, org.gel.models.report.avro.CancerActionableVariants actionableVariants) {
this.total_review_time = total_review_time;
this.mdt1_time = mdt1_time;
this.mdt2_time = mdt2_time;
this.validation_assay_time = validation_assay_time;
this.wet_validation_time = wet_validation_time;
this.analytical_validation_time = analytical_validation_time;
this.primary_reporting_time = primary_reporting_time;
this.primary_authorisation_time = primary_authorisation_time;
this.report_distribution_time = report_distribution_time;
this.total_time = total_time;
this.reviewedInMdtWga = reviewedInMdtWga;
this.actionableVariants = actionableVariants;
}
public org.apache.avro.Schema getSchema() { return SCHEMA$; }
// Used by DatumWriter. Applications should not call.
public java.lang.Object get(int field$) {
switch (field$) {
case 0: return total_review_time;
case 1: return mdt1_time;
case 2: return mdt2_time;
case 3: return validation_assay_time;
case 4: return wet_validation_time;
case 5: return analytical_validation_time;
case 6: return primary_reporting_time;
case 7: return primary_authorisation_time;
case 8: return report_distribution_time;
case 9: return total_time;
case 10: return reviewedInMdtWga;
case 11: return actionableVariants;
default: throw new org.apache.avro.AvroRuntimeException("Bad index");
}
}
// Used by DatumReader. Applications should not call.
@SuppressWarnings(value="unchecked")
public void put(int field$, java.lang.Object value$) {
switch (field$) {
case 0: total_review_time = (java.lang.Double)value$; break;
case 1: mdt1_time = (java.lang.Double)value$; break;
case 2: mdt2_time = (java.lang.Double)value$; break;
case 3: validation_assay_time = (java.lang.Double)value$; break;
case 4: wet_validation_time = (java.lang.Double)value$; break;
case 5: analytical_validation_time = (java.lang.Double)value$; break;
case 6: primary_reporting_time = (java.lang.Double)value$; break;
case 7: primary_authorisation_time = (java.lang.Double)value$; break;
case 8: report_distribution_time = (java.lang.Double)value$; break;
case 9: total_time = (java.lang.Double)value$; break;
case 10: reviewedInMdtWga = (org.gel.models.report.avro.ReviewedParts)value$; break;
case 11: actionableVariants = (org.gel.models.report.avro.CancerActionableVariants)value$; break;
default: throw new org.apache.avro.AvroRuntimeException("Bad index");
}
}
/**
* Gets the value of the 'total_review_time' field.
* Total time taken to review/collate evidence for variants (hours).
Include all literature review time, consultation with relevant experts etc. */
public java.lang.Double getTotalReviewTime() {
return total_review_time;
}
/**
* Sets the value of the 'total_review_time' field.
* Total time taken to review/collate evidence for variants (hours).
Include all literature review time, consultation with relevant experts etc. * @param value the value to set.
*/
public void setTotalReviewTime(java.lang.Double value) {
this.total_review_time = value;
}
/**
* Gets the value of the 'mdt1_time' field.
* Time taken to discuss case at MDT (hours). */
public java.lang.Double getMdt1Time() {
return mdt1_time;
}
/**
* Sets the value of the 'mdt1_time' field.
* Time taken to discuss case at MDT (hours). * @param value the value to set.
*/
public void setMdt1Time(java.lang.Double value) {
this.mdt1_time = value;
}
/**
* Gets the value of the 'mdt2_time' field.
* If the case is discussed at a 2nd MDT please enter time here (hours). */
public java.lang.Double getMdt2Time() {
return mdt2_time;
}
/**
* Sets the value of the 'mdt2_time' field.
* If the case is discussed at a 2nd MDT please enter time here (hours). * @param value the value to set.
*/
public void setMdt2Time(java.lang.Double value) {
this.mdt2_time = value;
}
/**
* Gets the value of the 'validation_assay_time' field.
* Total time to design ALL validation assay(s) for case (hours).
Only applicable if it is necessary to design a new assay to validate the variant. */
public java.lang.Double getValidationAssayTime() {
return validation_assay_time;
}
/**
* Sets the value of the 'validation_assay_time' field.
* Total time to design ALL validation assay(s) for case (hours).
Only applicable if it is necessary to design a new assay to validate the variant. * @param value the value to set.
*/
public void setValidationAssayTime(java.lang.Double value) {
this.validation_assay_time = value;
}
/**
* Gets the value of the 'wet_validation_time' field.
* Technical Laboratory Validation. Total time for validation test wet work for all variants (hours). */
public java.lang.Double getWetValidationTime() {
return wet_validation_time;
}
/**
* Sets the value of the 'wet_validation_time' field.
* Technical Laboratory Validation. Total time for validation test wet work for all variants (hours). * @param value the value to set.
*/
public void setWetValidationTime(java.lang.Double value) {
this.wet_validation_time = value;
}
/**
* Gets the value of the 'analytical_validation_time' field.
* Analytical Laboratory Validation. Total time for analysis of validation results for all variants (hours). */
public java.lang.Double getAnalyticalValidationTime() {
return analytical_validation_time;
}
/**
* Sets the value of the 'analytical_validation_time' field.
* Analytical Laboratory Validation. Total time for analysis of validation results for all variants (hours). * @param value the value to set.
*/
public void setAnalyticalValidationTime(java.lang.Double value) {
this.analytical_validation_time = value;
}
/**
* Gets the value of the 'primary_reporting_time' field.
* Primary Reporting. Time taken to complete primary reporting stage (hours). */
public java.lang.Double getPrimaryReportingTime() {
return primary_reporting_time;
}
/**
* Sets the value of the 'primary_reporting_time' field.
* Primary Reporting. Time taken to complete primary reporting stage (hours). * @param value the value to set.
*/
public void setPrimaryReportingTime(java.lang.Double value) {
this.primary_reporting_time = value;
}
/**
* Gets the value of the 'primary_authorisation_time' field.
* Report Authorisation. Time taken to check and authorise report (hours). */
public java.lang.Double getPrimaryAuthorisationTime() {
return primary_authorisation_time;
}
/**
* Sets the value of the 'primary_authorisation_time' field.
* Report Authorisation. Time taken to check and authorise report (hours). * @param value the value to set.
*/
public void setPrimaryAuthorisationTime(java.lang.Double value) {
this.primary_authorisation_time = value;
}
/**
* Gets the value of the 'report_distribution_time' field.
* Report Distribution.
Please enter, where possible/accessible how long it takes for the result to be conveyed to the patient.
E.g. via letter from the clinician (days). */
public java.lang.Double getReportDistributionTime() {
return report_distribution_time;
}
/**
* Sets the value of the 'report_distribution_time' field.
* Report Distribution.
Please enter, where possible/accessible how long it takes for the result to be conveyed to the patient.
E.g. via letter from the clinician (days). * @param value the value to set.
*/
public void setReportDistributionTime(java.lang.Double value) {
this.report_distribution_time = value;
}
/**
* Gets the value of the 'total_time' field.
* Total time from result to report.
The total time taken from when the analysis of the WGS results started to a report being received
by the patient include any 'waiting' time (days). */
public java.lang.Double getTotalTime() {
return total_time;
}
/**
* Sets the value of the 'total_time' field.
* Total time from result to report.
The total time taken from when the analysis of the WGS results started to a report being received
by the patient include any 'waiting' time (days). * @param value the value to set.
*/
public void setTotalTime(java.lang.Double value) {
this.total_time = value;
}
/**
* Gets the value of the 'reviewedInMdtWga' field.
* Which parts of the WGA were reviewed? */
public org.gel.models.report.avro.ReviewedParts getReviewedInMdtWga() {
return reviewedInMdtWga;
}
/**
* Sets the value of the 'reviewedInMdtWga' field.
* Which parts of the WGA were reviewed? * @param value the value to set.
*/
public void setReviewedInMdtWga(org.gel.models.report.avro.ReviewedParts value) {
this.reviewedInMdtWga = value;
}
/**
* Gets the value of the 'actionableVariants' field.
* Were potentially actionable variants detected? */
public org.gel.models.report.avro.CancerActionableVariants getActionableVariants() {
return actionableVariants;
}
/**
* Sets the value of the 'actionableVariants' field.
* Were potentially actionable variants detected? * @param value the value to set.
*/
public void setActionableVariants(org.gel.models.report.avro.CancerActionableVariants value) {
this.actionableVariants = value;
}
/** Creates a new CancerCaseLevelQuestions RecordBuilder */
public static org.gel.models.report.avro.CancerCaseLevelQuestions.Builder newBuilder() {
return new org.gel.models.report.avro.CancerCaseLevelQuestions.Builder();
}
/** Creates a new CancerCaseLevelQuestions RecordBuilder by copying an existing Builder */
public static org.gel.models.report.avro.CancerCaseLevelQuestions.Builder newBuilder(org.gel.models.report.avro.CancerCaseLevelQuestions.Builder other) {
return new org.gel.models.report.avro.CancerCaseLevelQuestions.Builder(other);
}
/** Creates a new CancerCaseLevelQuestions RecordBuilder by copying an existing CancerCaseLevelQuestions instance */
public static org.gel.models.report.avro.CancerCaseLevelQuestions.Builder newBuilder(org.gel.models.report.avro.CancerCaseLevelQuestions other) {
return new org.gel.models.report.avro.CancerCaseLevelQuestions.Builder(other);
}
/**
* RecordBuilder for CancerCaseLevelQuestions instances.
*/
public static class Builder extends org.apache.avro.specific.SpecificRecordBuilderBase
implements org.apache.avro.data.RecordBuilder {
private double total_review_time;
private double mdt1_time;
private java.lang.Double mdt2_time;
private java.lang.Double validation_assay_time;
private java.lang.Double wet_validation_time;
private java.lang.Double analytical_validation_time;
private double primary_reporting_time;
private double primary_authorisation_time;
private double report_distribution_time;
private double total_time;
private org.gel.models.report.avro.ReviewedParts reviewedInMdtWga;
private org.gel.models.report.avro.CancerActionableVariants actionableVariants;
/** Creates a new Builder */
private Builder() {
super(org.gel.models.report.avro.CancerCaseLevelQuestions.SCHEMA$);
}
/** Creates a Builder by copying an existing Builder */
private Builder(org.gel.models.report.avro.CancerCaseLevelQuestions.Builder other) {
super(other);
if (isValidValue(fields()[0], other.total_review_time)) {
this.total_review_time = data().deepCopy(fields()[0].schema(), other.total_review_time);
fieldSetFlags()[0] = true;
}
if (isValidValue(fields()[1], other.mdt1_time)) {
this.mdt1_time = data().deepCopy(fields()[1].schema(), other.mdt1_time);
fieldSetFlags()[1] = true;
}
if (isValidValue(fields()[2], other.mdt2_time)) {
this.mdt2_time = data().deepCopy(fields()[2].schema(), other.mdt2_time);
fieldSetFlags()[2] = true;
}
if (isValidValue(fields()[3], other.validation_assay_time)) {
this.validation_assay_time = data().deepCopy(fields()[3].schema(), other.validation_assay_time);
fieldSetFlags()[3] = true;
}
if (isValidValue(fields()[4], other.wet_validation_time)) {
this.wet_validation_time = data().deepCopy(fields()[4].schema(), other.wet_validation_time);
fieldSetFlags()[4] = true;
}
if (isValidValue(fields()[5], other.analytical_validation_time)) {
this.analytical_validation_time = data().deepCopy(fields()[5].schema(), other.analytical_validation_time);
fieldSetFlags()[5] = true;
}
if (isValidValue(fields()[6], other.primary_reporting_time)) {
this.primary_reporting_time = data().deepCopy(fields()[6].schema(), other.primary_reporting_time);
fieldSetFlags()[6] = true;
}
if (isValidValue(fields()[7], other.primary_authorisation_time)) {
this.primary_authorisation_time = data().deepCopy(fields()[7].schema(), other.primary_authorisation_time);
fieldSetFlags()[7] = true;
}
if (isValidValue(fields()[8], other.report_distribution_time)) {
this.report_distribution_time = data().deepCopy(fields()[8].schema(), other.report_distribution_time);
fieldSetFlags()[8] = true;
}
if (isValidValue(fields()[9], other.total_time)) {
this.total_time = data().deepCopy(fields()[9].schema(), other.total_time);
fieldSetFlags()[9] = true;
}
if (isValidValue(fields()[10], other.reviewedInMdtWga)) {
this.reviewedInMdtWga = data().deepCopy(fields()[10].schema(), other.reviewedInMdtWga);
fieldSetFlags()[10] = true;
}
if (isValidValue(fields()[11], other.actionableVariants)) {
this.actionableVariants = data().deepCopy(fields()[11].schema(), other.actionableVariants);
fieldSetFlags()[11] = true;
}
}
/** Creates a Builder by copying an existing CancerCaseLevelQuestions instance */
private Builder(org.gel.models.report.avro.CancerCaseLevelQuestions other) {
super(org.gel.models.report.avro.CancerCaseLevelQuestions.SCHEMA$);
if (isValidValue(fields()[0], other.total_review_time)) {
this.total_review_time = data().deepCopy(fields()[0].schema(), other.total_review_time);
fieldSetFlags()[0] = true;
}
if (isValidValue(fields()[1], other.mdt1_time)) {
this.mdt1_time = data().deepCopy(fields()[1].schema(), other.mdt1_time);
fieldSetFlags()[1] = true;
}
if (isValidValue(fields()[2], other.mdt2_time)) {
this.mdt2_time = data().deepCopy(fields()[2].schema(), other.mdt2_time);
fieldSetFlags()[2] = true;
}
if (isValidValue(fields()[3], other.validation_assay_time)) {
this.validation_assay_time = data().deepCopy(fields()[3].schema(), other.validation_assay_time);
fieldSetFlags()[3] = true;
}
if (isValidValue(fields()[4], other.wet_validation_time)) {
this.wet_validation_time = data().deepCopy(fields()[4].schema(), other.wet_validation_time);
fieldSetFlags()[4] = true;
}
if (isValidValue(fields()[5], other.analytical_validation_time)) {
this.analytical_validation_time = data().deepCopy(fields()[5].schema(), other.analytical_validation_time);
fieldSetFlags()[5] = true;
}
if (isValidValue(fields()[6], other.primary_reporting_time)) {
this.primary_reporting_time = data().deepCopy(fields()[6].schema(), other.primary_reporting_time);
fieldSetFlags()[6] = true;
}
if (isValidValue(fields()[7], other.primary_authorisation_time)) {
this.primary_authorisation_time = data().deepCopy(fields()[7].schema(), other.primary_authorisation_time);
fieldSetFlags()[7] = true;
}
if (isValidValue(fields()[8], other.report_distribution_time)) {
this.report_distribution_time = data().deepCopy(fields()[8].schema(), other.report_distribution_time);
fieldSetFlags()[8] = true;
}
if (isValidValue(fields()[9], other.total_time)) {
this.total_time = data().deepCopy(fields()[9].schema(), other.total_time);
fieldSetFlags()[9] = true;
}
if (isValidValue(fields()[10], other.reviewedInMdtWga)) {
this.reviewedInMdtWga = data().deepCopy(fields()[10].schema(), other.reviewedInMdtWga);
fieldSetFlags()[10] = true;
}
if (isValidValue(fields()[11], other.actionableVariants)) {
this.actionableVariants = data().deepCopy(fields()[11].schema(), other.actionableVariants);
fieldSetFlags()[11] = true;
}
}
/** Gets the value of the 'total_review_time' field */
public java.lang.Double getTotalReviewTime() {
return total_review_time;
}
/** Sets the value of the 'total_review_time' field */
public org.gel.models.report.avro.CancerCaseLevelQuestions.Builder setTotalReviewTime(double value) {
validate(fields()[0], value);
this.total_review_time = value;
fieldSetFlags()[0] = true;
return this;
}
/** Checks whether the 'total_review_time' field has been set */
public boolean hasTotalReviewTime() {
return fieldSetFlags()[0];
}
/** Clears the value of the 'total_review_time' field */
public org.gel.models.report.avro.CancerCaseLevelQuestions.Builder clearTotalReviewTime() {
fieldSetFlags()[0] = false;
return this;
}
/** Gets the value of the 'mdt1_time' field */
public java.lang.Double getMdt1Time() {
return mdt1_time;
}
/** Sets the value of the 'mdt1_time' field */
public org.gel.models.report.avro.CancerCaseLevelQuestions.Builder setMdt1Time(double value) {
validate(fields()[1], value);
this.mdt1_time = value;
fieldSetFlags()[1] = true;
return this;
}
/** Checks whether the 'mdt1_time' field has been set */
public boolean hasMdt1Time() {
return fieldSetFlags()[1];
}
/** Clears the value of the 'mdt1_time' field */
public org.gel.models.report.avro.CancerCaseLevelQuestions.Builder clearMdt1Time() {
fieldSetFlags()[1] = false;
return this;
}
/** Gets the value of the 'mdt2_time' field */
public java.lang.Double getMdt2Time() {
return mdt2_time;
}
/** Sets the value of the 'mdt2_time' field */
public org.gel.models.report.avro.CancerCaseLevelQuestions.Builder setMdt2Time(java.lang.Double value) {
validate(fields()[2], value);
this.mdt2_time = value;
fieldSetFlags()[2] = true;
return this;
}
/** Checks whether the 'mdt2_time' field has been set */
public boolean hasMdt2Time() {
return fieldSetFlags()[2];
}
/** Clears the value of the 'mdt2_time' field */
public org.gel.models.report.avro.CancerCaseLevelQuestions.Builder clearMdt2Time() {
mdt2_time = null;
fieldSetFlags()[2] = false;
return this;
}
/** Gets the value of the 'validation_assay_time' field */
public java.lang.Double getValidationAssayTime() {
return validation_assay_time;
}
/** Sets the value of the 'validation_assay_time' field */
public org.gel.models.report.avro.CancerCaseLevelQuestions.Builder setValidationAssayTime(java.lang.Double value) {
validate(fields()[3], value);
this.validation_assay_time = value;
fieldSetFlags()[3] = true;
return this;
}
/** Checks whether the 'validation_assay_time' field has been set */
public boolean hasValidationAssayTime() {
return fieldSetFlags()[3];
}
/** Clears the value of the 'validation_assay_time' field */
public org.gel.models.report.avro.CancerCaseLevelQuestions.Builder clearValidationAssayTime() {
validation_assay_time = null;
fieldSetFlags()[3] = false;
return this;
}
/** Gets the value of the 'wet_validation_time' field */
public java.lang.Double getWetValidationTime() {
return wet_validation_time;
}
/** Sets the value of the 'wet_validation_time' field */
public org.gel.models.report.avro.CancerCaseLevelQuestions.Builder setWetValidationTime(java.lang.Double value) {
validate(fields()[4], value);
this.wet_validation_time = value;
fieldSetFlags()[4] = true;
return this;
}
/** Checks whether the 'wet_validation_time' field has been set */
public boolean hasWetValidationTime() {
return fieldSetFlags()[4];
}
/** Clears the value of the 'wet_validation_time' field */
public org.gel.models.report.avro.CancerCaseLevelQuestions.Builder clearWetValidationTime() {
wet_validation_time = null;
fieldSetFlags()[4] = false;
return this;
}
/** Gets the value of the 'analytical_validation_time' field */
public java.lang.Double getAnalyticalValidationTime() {
return analytical_validation_time;
}
/** Sets the value of the 'analytical_validation_time' field */
public org.gel.models.report.avro.CancerCaseLevelQuestions.Builder setAnalyticalValidationTime(java.lang.Double value) {
validate(fields()[5], value);
this.analytical_validation_time = value;
fieldSetFlags()[5] = true;
return this;
}
/** Checks whether the 'analytical_validation_time' field has been set */
public boolean hasAnalyticalValidationTime() {
return fieldSetFlags()[5];
}
/** Clears the value of the 'analytical_validation_time' field */
public org.gel.models.report.avro.CancerCaseLevelQuestions.Builder clearAnalyticalValidationTime() {
analytical_validation_time = null;
fieldSetFlags()[5] = false;
return this;
}
/** Gets the value of the 'primary_reporting_time' field */
public java.lang.Double getPrimaryReportingTime() {
return primary_reporting_time;
}
/** Sets the value of the 'primary_reporting_time' field */
public org.gel.models.report.avro.CancerCaseLevelQuestions.Builder setPrimaryReportingTime(double value) {
validate(fields()[6], value);
this.primary_reporting_time = value;
fieldSetFlags()[6] = true;
return this;
}
/** Checks whether the 'primary_reporting_time' field has been set */
public boolean hasPrimaryReportingTime() {
return fieldSetFlags()[6];
}
/** Clears the value of the 'primary_reporting_time' field */
public org.gel.models.report.avro.CancerCaseLevelQuestions.Builder clearPrimaryReportingTime() {
fieldSetFlags()[6] = false;
return this;
}
/** Gets the value of the 'primary_authorisation_time' field */
public java.lang.Double getPrimaryAuthorisationTime() {
return primary_authorisation_time;
}
/** Sets the value of the 'primary_authorisation_time' field */
public org.gel.models.report.avro.CancerCaseLevelQuestions.Builder setPrimaryAuthorisationTime(double value) {
validate(fields()[7], value);
this.primary_authorisation_time = value;
fieldSetFlags()[7] = true;
return this;
}
/** Checks whether the 'primary_authorisation_time' field has been set */
public boolean hasPrimaryAuthorisationTime() {
return fieldSetFlags()[7];
}
/** Clears the value of the 'primary_authorisation_time' field */
public org.gel.models.report.avro.CancerCaseLevelQuestions.Builder clearPrimaryAuthorisationTime() {
fieldSetFlags()[7] = false;
return this;
}
/** Gets the value of the 'report_distribution_time' field */
public java.lang.Double getReportDistributionTime() {
return report_distribution_time;
}
/** Sets the value of the 'report_distribution_time' field */
public org.gel.models.report.avro.CancerCaseLevelQuestions.Builder setReportDistributionTime(double value) {
validate(fields()[8], value);
this.report_distribution_time = value;
fieldSetFlags()[8] = true;
return this;
}
/** Checks whether the 'report_distribution_time' field has been set */
public boolean hasReportDistributionTime() {
return fieldSetFlags()[8];
}
/** Clears the value of the 'report_distribution_time' field */
public org.gel.models.report.avro.CancerCaseLevelQuestions.Builder clearReportDistributionTime() {
fieldSetFlags()[8] = false;
return this;
}
/** Gets the value of the 'total_time' field */
public java.lang.Double getTotalTime() {
return total_time;
}
/** Sets the value of the 'total_time' field */
public org.gel.models.report.avro.CancerCaseLevelQuestions.Builder setTotalTime(double value) {
validate(fields()[9], value);
this.total_time = value;
fieldSetFlags()[9] = true;
return this;
}
/** Checks whether the 'total_time' field has been set */
public boolean hasTotalTime() {
return fieldSetFlags()[9];
}
/** Clears the value of the 'total_time' field */
public org.gel.models.report.avro.CancerCaseLevelQuestions.Builder clearTotalTime() {
fieldSetFlags()[9] = false;
return this;
}
/** Gets the value of the 'reviewedInMdtWga' field */
public org.gel.models.report.avro.ReviewedParts getReviewedInMdtWga() {
return reviewedInMdtWga;
}
/** Sets the value of the 'reviewedInMdtWga' field */
public org.gel.models.report.avro.CancerCaseLevelQuestions.Builder setReviewedInMdtWga(org.gel.models.report.avro.ReviewedParts value) {
validate(fields()[10], value);
this.reviewedInMdtWga = value;
fieldSetFlags()[10] = true;
return this;
}
/** Checks whether the 'reviewedInMdtWga' field has been set */
public boolean hasReviewedInMdtWga() {
return fieldSetFlags()[10];
}
/** Clears the value of the 'reviewedInMdtWga' field */
public org.gel.models.report.avro.CancerCaseLevelQuestions.Builder clearReviewedInMdtWga() {
reviewedInMdtWga = null;
fieldSetFlags()[10] = false;
return this;
}
/** Gets the value of the 'actionableVariants' field */
public org.gel.models.report.avro.CancerActionableVariants getActionableVariants() {
return actionableVariants;
}
/** Sets the value of the 'actionableVariants' field */
public org.gel.models.report.avro.CancerCaseLevelQuestions.Builder setActionableVariants(org.gel.models.report.avro.CancerActionableVariants value) {
validate(fields()[11], value);
this.actionableVariants = value;
fieldSetFlags()[11] = true;
return this;
}
/** Checks whether the 'actionableVariants' field has been set */
public boolean hasActionableVariants() {
return fieldSetFlags()[11];
}
/** Clears the value of the 'actionableVariants' field */
public org.gel.models.report.avro.CancerCaseLevelQuestions.Builder clearActionableVariants() {
actionableVariants = null;
fieldSetFlags()[11] = false;
return this;
}
@Override
public CancerCaseLevelQuestions build() {
try {
CancerCaseLevelQuestions record = new CancerCaseLevelQuestions();
record.total_review_time = fieldSetFlags()[0] ? this.total_review_time : (java.lang.Double) defaultValue(fields()[0]);
record.mdt1_time = fieldSetFlags()[1] ? this.mdt1_time : (java.lang.Double) defaultValue(fields()[1]);
record.mdt2_time = fieldSetFlags()[2] ? this.mdt2_time : (java.lang.Double) defaultValue(fields()[2]);
record.validation_assay_time = fieldSetFlags()[3] ? this.validation_assay_time : (java.lang.Double) defaultValue(fields()[3]);
record.wet_validation_time = fieldSetFlags()[4] ? this.wet_validation_time : (java.lang.Double) defaultValue(fields()[4]);
record.analytical_validation_time = fieldSetFlags()[5] ? this.analytical_validation_time : (java.lang.Double) defaultValue(fields()[5]);
record.primary_reporting_time = fieldSetFlags()[6] ? this.primary_reporting_time : (java.lang.Double) defaultValue(fields()[6]);
record.primary_authorisation_time = fieldSetFlags()[7] ? this.primary_authorisation_time : (java.lang.Double) defaultValue(fields()[7]);
record.report_distribution_time = fieldSetFlags()[8] ? this.report_distribution_time : (java.lang.Double) defaultValue(fields()[8]);
record.total_time = fieldSetFlags()[9] ? this.total_time : (java.lang.Double) defaultValue(fields()[9]);
record.reviewedInMdtWga = fieldSetFlags()[10] ? this.reviewedInMdtWga : (org.gel.models.report.avro.ReviewedParts) defaultValue(fields()[10]);
record.actionableVariants = fieldSetFlags()[11] ? this.actionableVariants : (org.gel.models.report.avro.CancerActionableVariants) defaultValue(fields()[11]);
return record;
} catch (Exception e) {
throw new org.apache.avro.AvroRuntimeException(e);
}
}
}
}