/** Checks whether the 'effect' field has been set */ public boolean hasEffect() { return fieldSetFlags()[2]; }
/** Checks whether the 'pathway' field has been set */ public boolean hasPathway() { return fieldSetFlags()[1]; }
/** Clears the value of the 'status' field */ public org.opencb.biodata.models.variant.avro.Drug.Builder clearStatus() { status = null; fieldSetFlags()[4] = false; return this; }
/** Clears the value of the 'association' field */ public org.opencb.biodata.models.variant.avro.Drug.Builder clearAssociation() { association = null; fieldSetFlags()[3] = false; return this; }
/** Sets the value of the 'pathway' field */ public org.opencb.biodata.models.variant.avro.Drug.Builder setPathway(java.lang.String value) { validate(fields()[1], value); this.pathway = value; fieldSetFlags()[1] = true; return this; }
/** Clears the value of the 'therapeuticContext' field */ public org.opencb.biodata.models.variant.avro.Drug.Builder clearTherapeuticContext() { therapeuticContext = null; fieldSetFlags()[0] = false; return this; }
/** Clears the value of the 'bibliography' field */ public org.opencb.biodata.models.variant.avro.Drug.Builder clearBibliography() { bibliography = null; fieldSetFlags()[6] = false; return this; }
/** Clears the value of the 'evidence' field */ public org.opencb.biodata.models.variant.avro.Drug.Builder clearEvidence() { evidence = null; fieldSetFlags()[5] = false; return this; }
/** Sets the value of the 'status' field */ public org.opencb.biodata.models.variant.avro.Drug.Builder setStatus(java.lang.String value) { validate(fields()[4], value); this.status = value; fieldSetFlags()[4] = true; return this; }
/** Sets the value of the 'association' field */ public org.opencb.biodata.models.variant.avro.Drug.Builder setAssociation(java.lang.String value) { validate(fields()[3], value); this.association = value; fieldSetFlags()[3] = true; return this; }
/** Clears the value of the 'pathway' field */ public org.opencb.biodata.models.variant.avro.Drug.Builder clearPathway() { pathway = null; fieldSetFlags()[1] = false; return this; }
/** Sets the value of the 'therapeuticContext' field */ public org.opencb.biodata.models.variant.avro.Drug.Builder setTherapeuticContext(java.lang.String value) { validate(fields()[0], value); this.therapeuticContext = value; fieldSetFlags()[0] = true; return this; }
/** Checks whether the 'bibliography' field has been set */ public boolean hasBibliography() { return fieldSetFlags()[6]; }
/** Checks whether the 'evidence' field has been set */ public boolean hasEvidence() { return fieldSetFlags()[5]; }
/** Checks whether the 'status' field has been set */ public boolean hasStatus() { return fieldSetFlags()[4]; }
/** Sets the value of the 'evidence' field */ public org.opencb.biodata.models.variant.avro.Drug.Builder setEvidence(java.lang.String value) { validate(fields()[5], value); this.evidence = value; fieldSetFlags()[5] = true; return this; }
/** Clears the value of the 'effect' field */ public org.opencb.biodata.models.variant.avro.Drug.Builder clearEffect() { effect = null; fieldSetFlags()[2] = false; return this; }
/** Sets the value of the 'effect' field */ public org.opencb.biodata.models.variant.avro.Drug.Builder setEffect(java.lang.String value) { validate(fields()[2], value); this.effect = value; fieldSetFlags()[2] = true; return this; }
/** Checks whether the 'therapeuticContext' field has been set */ public boolean hasTherapeuticContext() { return fieldSetFlags()[0]; }
/** Sets the value of the 'bibliography' field */ public org.opencb.biodata.models.variant.avro.Drug.Builder setBibliography(java.util.List<java.lang.String> value) { validate(fields()[6], value); this.bibliography = value; fieldSetFlags()[6] = true; return this; }