public class NaturalPerson extends Person
EMPTY, string| Constructor and Description |
|---|
NaturalPerson(String givenName,
String sureName,
String addressLine,
String zip,
String country)
Constructor for a natural person with specified values.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(UntypedData datatype) |
boolean |
equals(Object obj) |
String |
getGivenName()
Getter for the field
given_name. |
String |
getSureName()
Getter for the field
sure_name. |
int |
hashCode() |
void |
setGivenName(String givenName) |
void |
setSureName(String sureName) |
String |
toString() |
formatEmptyString, getAddressLine, getCountry, getZipgetString, setString, toHTMLpublic int compareTo(UntypedData datatype)
compareTo in interface Comparable<UntypedData>compareTo in class Person@Field(index=YES,
store=YES)
public String getSureName()
sure_name.@Field(index=YES,
store=YES)
public String getGivenName()
given_name.public void setSureName(String sureName)
sureName - the sureName to setpublic void setGivenName(String givenName)
givenName - the givenName to setCopyright © 2015 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK). All rights reserved.