Package eu.de4a.iem.model
Class AddressPojo
- java.lang.Object
-
- eu.de4a.iem.model.AddressPojo
-
@Immutable public class AddressPojo extends Object
Represents the needed extract of an "Address".- Author:
- Philip Helger
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAddressPojo.BuilderA builder for this class
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AddressPojo.Builderbuilder()booleanequals(Object o)StringgetBuildingNumber()StringgetCountryCode()StringgetFullAddress()StringgetPostalCode()StringgetStreetName()StringgetTown()inthashCode()StringtoString()
-
-
-
Method Detail
-
getFullAddress
@Nullable public final String getFullAddress()
- Returns:
- The full address line. May be
null.
-
getStreetName
@Nullable public final String getStreetName()
- Returns:
- The street name of the address. May be
null.
-
getBuildingNumber
@Nullable public final String getBuildingNumber()
- Returns:
- The building number of the address. May be
null.
-
getTown
@Nullable public final String getTown()
- Returns:
- The town or city name of the address. May be
null.
-
getPostalCode
@Nullable public final String getPostalCode()
- Returns:
- The postal code of the address. May be
null.
-
getCountryCode
@Nullable public final String getCountryCode()
- Returns:
- The country code of the address. May be
null. Note: that is not checked against any rules.
-
builder
@Nonnull public static AddressPojo.Builder builder()
-
-