Package de.mhus.lib.core.util
Class Address
- java.lang.Object
-
- de.mhus.lib.core.util.Address
-
- All Implemented Interfaces:
Externalizable,Serializable
- Direct Known Subclasses:
AccountAttributeMapper
public class Address extends Object implements Externalizable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAddress.SALUTATION
-
Field Summary
Fields Modifier and Type Field Description protected IPropertiesattributes
-
Constructor Summary
Constructors Constructor Description Address()Address(IProperties attributes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCountry()static IConfiggetDefinition()StringgetEmail()StringgetFirstName()StringgetFullName(Locale l)StringgetHouseNumber()StringgetLastName()StringgetLetterSalutation(Locale l)StringgetMobile()StringgetNameAffix()StringgetNameMid()StringgetNameTitle()StringgetPhone()Address.SALUTATIONgetSalutation()StringgetStreet()StringgetTown()StringgetZip()voidreadExternal(ObjectInput in)static voidreloadDefinition()static Address.SALUTATIONtoSalutation(int salutation)static Address.SALUTATIONtoSalutation(String salStr)static inttoSalutationInt(String salStr)static StringtoSalutationString(Address.SALUTATION salutation, Locale l)voidwriteExternal(ObjectOutput out)
-
-
-
Field Detail
-
attributes
protected IProperties attributes
-
-
Constructor Detail
-
Address
public Address()
-
Address
public Address(IProperties attributes)
-
-
Method Detail
-
getSalutation
public Address.SALUTATION getSalutation()
-
getEmail
public String getEmail()
-
getNameTitle
public String getNameTitle()
-
getFirstName
public String getFirstName()
-
getLastName
public String getLastName()
-
getNameMid
public String getNameMid()
-
getNameAffix
public String getNameAffix()
-
getStreet
public String getStreet()
-
getHouseNumber
public String getHouseNumber()
-
getTown
public String getTown()
-
getCountry
public String getCountry()
-
getZip
public String getZip()
-
getPhone
public String getPhone()
-
getMobile
public String getMobile()
-
toSalutation
public static Address.SALUTATION toSalutation(int salutation)
-
toSalutationInt
public static int toSalutationInt(String salStr)
-
toSalutationString
public static String toSalutationString(Address.SALUTATION salutation, Locale l)
-
toSalutation
public static Address.SALUTATION toSalutation(String salStr)
-
getDefinition
public static IConfig getDefinition()
-
reloadDefinition
public static void reloadDefinition()
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
-