| Modifier and Type | Field and Description |
|---|---|
static AttributeValueResolver<Address> |
ADDRESS_RESOLVER
The
AttributeValueResolver that resolves SCIM attribute values
to/from Address instances. |
| Constructor and Description |
|---|
Address(String formatted,
String streetAddress,
String locality,
String region,
String postalCode,
String country,
String type,
boolean primary)
Create an instance of the SCIM addresses attribute.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getCountry()
Retrieves the country name component.
|
String |
getFormatted()
Retrieves the full mailing address, formatted for display or use with a
mailing label.
|
String |
getLocality()
Retrieves the city or locality component.
|
String |
getPostalCode()
Retrieves the zip code or postal code component.
|
String |
getRegion()
Retrieves the state or region component.
|
String |
getStreetAddress()
Retrieves the full street address component, which may include house
number, street name, PO BOX, and multi-line.
|
String |
getType()
Retrieves the type of address, "work", "home" or "other".
|
int |
hashCode() |
boolean |
isPrimary()
Whether this value is the primary value.
|
void |
setCountry(String country)
Sets the country name component.
|
void |
setFormatted(String formatted)
Sets the full mailing address, formatted for display or use with a
mailing label.
|
void |
setLocality(String locality)
Sets the city or locality component.
|
void |
setPostalCode(String postalCode)
Sets the zip code or postal code component.
|
void |
setPrimary(boolean primary)
Specifies whether this value is the primary value.
|
void |
setRegion(String region)
Sets the state or region component.
|
void |
setStreetAddress(String streetAddress)
Sets The full street address component, which may include house number,
street name, PO BOX, and multi-line.
|
void |
setType(String type)
Sets the type of address, "work", "home" or "other".
|
String |
toString() |
public static final AttributeValueResolver<Address> ADDRESS_RESOLVER
AttributeValueResolver that resolves SCIM attribute values
to/from Address instances.public Address(String formatted, String streetAddress, String locality, String region, String postalCode, String country, String type, boolean primary)
primary - Specifies whether this value is the primary value.streetAddress - The full street address component, which may include
house number, street name, PO BOX, and multi-line
extended street address information.locality - The city or locality component.region - The state or region component.postalCode - The zip code or postal code component.country - The country name component.formatted - The full mailing address, formatted for display or
use with a mailing label.type - The type of address, "work", "home" or "other".public String getCountry()
public void setCountry(String country)
country - The country name component.public String getFormatted()
public void setFormatted(String formatted)
formatted - The full mailing address.public String getLocality()
public void setLocality(String locality)
locality - The city or locality component.public String getPostalCode()
public void setPostalCode(String postalCode)
postalCode - The zip code or postal code component.public boolean isPrimary()
true if this value is the primary value or
false otherwise.public void setPrimary(boolean primary)
primary - Whether this value is the primary value.public String getRegion()
public void setRegion(String region)
region - The state or region component.public String getStreetAddress()
public void setStreetAddress(String streetAddress)
streetAddress - The full street address component.public String getType()
public void setType(String type)
type - he type of address.Copyright © 2011–2016 UnboundID. All rights reserved.