public static class OntologyTerm.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<OntologyTerm> implements org.apache.avro.data.RecordBuilder<OntologyTerm>
Modifier and Type | Method and Description |
---|---|
OntologyTerm |
build() |
OntologyTerm.Builder |
clearAccession()
Clears the value of the 'accession' field.
|
OntologyTerm.Builder |
clearDb()
Clears the value of the 'db' field.
|
String |
getAccession()
Gets the value of the 'accession' field.
|
String |
getDb()
Gets the value of the 'db' field.
|
boolean |
hasAccession()
Checks whether the 'accession' field has been set.
|
boolean |
hasDb()
Checks whether the 'db' field has been set.
|
OntologyTerm.Builder |
setAccession(String value)
Sets the value of the 'accession' field.
|
OntologyTerm.Builder |
setDb(String value)
Sets the value of the 'db' field.
|
public String getDb()
public OntologyTerm.Builder setDb(String value)
value
- The value of 'db'.public boolean hasDb()
public OntologyTerm.Builder clearDb()
public String getAccession()
public OntologyTerm.Builder setAccession(String value)
value
- The value of 'accession'.public boolean hasAccession()
public OntologyTerm.Builder clearAccession()
public OntologyTerm build()
build
in interface org.apache.avro.data.RecordBuilder<OntologyTerm>
Copyright © 2019. All rights reserved.