public abstract class Person extends UntypedData implements Serializable, Comparable<UntypedData>
| Modifier and Type | Field and Description |
|---|---|
protected static String |
UNKNOWN |
EMPTY, string| Constructor and Description |
|---|
Person(String addressLine,
String zip,
String country)
Constructor for Person with specified values.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(UntypedData datatype) |
boolean |
equals(Object obj) |
protected String |
formatEmptyString(String string)
Format address strings in person object set empty strings to n/a
|
String |
getAddressLine()
Getter for the field
adress_line. |
String |
getCountry()
Getter for the field
country. |
String |
getZip()
Getter for the field
zip. |
int |
hashCode() |
String |
toString() |
getString, setString, toHTMLprotected static final String UNKNOWN
public int hashCode()
hashCode in class UntypedDatapublic boolean equals(Object obj)
equals in class UntypedDatapublic int compareTo(UntypedData datatype)
compareTo in interface Comparable<UntypedData>compareTo in class UntypedDataprotected String formatEmptyString(String string)
string - public String getAddressLine()
adress_line.public String getCountry()
country.public String getZip()
zip.public String toString()
toString in class UntypedDataCopyright © 2015 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK). All rights reserved.