Record Class GBIFReader.GbifSpecies
java.lang.Object
java.lang.Record
org.episteme.natural.biology.loaders.GBIFReader.GbifSpecies
- Enclosing class:
GBIFReader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclazz()Returns the value of theclazzrecord component.final booleanIndicates whether some other object is "equal to" this one.family()Returns the value of thefamilyrecord component.genus()Returns the value of thegenusrecord component.final inthashCode()Returns a hash code value for this object.longkey()Returns the value of thekeyrecord component.kingdom()Returns the value of thekingdomrecord component.order()Returns the value of theorderrecord component.phylum()Returns the value of thephylumrecord component.rank()Returns the value of therankrecord component.Returns the value of thescientificNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GbifSpecies
public GbifSpecies(long key, String scientificName, String rank, String kingdom, String phylum, String clazz, String order, String family, String genus) Creates an instance of aGbifSpeciesrecord class.- Parameters:
key- the value for thekeyrecord componentscientificName- the value for thescientificNamerecord componentrank- the value for therankrecord componentkingdom- the value for thekingdomrecord componentphylum- the value for thephylumrecord componentclazz- the value for theclazzrecord componentorder- the value for theorderrecord componentfamily- the value for thefamilyrecord componentgenus- the value for thegenusrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
key
public long key()Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-
scientificName
Returns the value of thescientificNamerecord component.- Returns:
- the value of the
scientificNamerecord component
-
rank
Returns the value of therankrecord component.- Returns:
- the value of the
rankrecord component
-
kingdom
Returns the value of thekingdomrecord component.- Returns:
- the value of the
kingdomrecord component
-
phylum
Returns the value of thephylumrecord component.- Returns:
- the value of the
phylumrecord component
-
clazz
Returns the value of theclazzrecord component.- Returns:
- the value of the
clazzrecord component
-
order
Returns the value of theorderrecord component.- Returns:
- the value of the
orderrecord component
-
family
Returns the value of thefamilyrecord component.- Returns:
- the value of the
familyrecord component
-
genus
Returns the value of thegenusrecord component.- Returns:
- the value of the
genusrecord component
-