Class LegalPerson
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.Person
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.LegalPerson
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UntypedData>
public class LegalPerson extends Person
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData
ALL_RIGHTS_RESERVED, EMPTY, string
-
-
Constructor Summary
Constructors Constructor Description LegalPerson(java.lang.String legalName, java.lang.String addressLine, java.lang.String zip, java.lang.String country)
Constructor for a natural person with specified values.
-
Method Summary
Modifier and Type Method Description int
compareTo(UntypedData datatype)
boolean
equals(java.lang.Object obj)
java.lang.String
getLegalName()
Getter for the fieldlegalName
.int
hashCode()
void
setLegalName(java.lang.String legalName)
Setter for the fieldlegalName
.java.lang.String
toString()
-
Methods inherited from class de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.Person
formatEmptyString, getAddressLine, getCountry, getZip
-
Methods inherited from class de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData
getString, setString, toHTML
-
-
-
-
Method Detail
-
compareTo
public int compareTo(UntypedData datatype)
- Specified by:
compareTo
in interfacejava.lang.Comparable<UntypedData>
- Overrides:
compareTo
in classPerson
-
getLegalName
public java.lang.String getLegalName()
Getter for the fieldlegalName
.- Returns:
- the legalName
-
setLegalName
public void setLegalName(java.lang.String legalName)
Setter for the fieldlegalName
.- Parameters:
legalName
- the legalName to set
-
-