|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.unboundid.scim.data.Address
public class Address
This class represents the address complex attribute in user resources.
| Field Summary | |
|---|---|
static AttributeValueResolver<Address> |
ADDRESS_RESOLVER
The AttributeValueResolver that resolves SCIM attribute values
to/from Address instances. |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final AttributeValueResolver<Address> ADDRESS_RESOLVER
AttributeValueResolver that resolves SCIM attribute values
to/from Address instances.
| Constructor Detail |
|---|
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".| Method Detail |
|---|
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.public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||