public class LegalPerson extends Person
EMPTY, string| Constructor and Description |
|---|
LegalPerson(String legalName,
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 |
getLegalName()
Getter for the field
legalName. |
int |
hashCode() |
void |
setLegalName(String legalName)
Setter for the field
legalName. |
String |
toString() |
formatEmptyString, getAddressLine, getCountry, getZipgetString, setString, toHTMLpublic int compareTo(UntypedData datatype)
compareTo in interface Comparable<UntypedData>compareTo in class Personpublic String getLegalName()
legalName.public void setLegalName(String legalName)
legalName.legalName - the legalName to setCopyright © 2015 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK). All rights reserved.