public class Provider extends LinkedHashMap<String,Object>
utility_bill/provider.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Provider() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsCountry()
Check if this object contains
"country". |
boolean |
containsFormatted()
Check if this object contains
"formatted". |
boolean |
containsLocality()
Check if this object contains
"locality". |
boolean |
containsName()
Check if this object contains
"name". |
boolean |
containsPostalCode()
Check if this object contains
"postal_code". |
boolean |
containsRegion()
Check if this object contains
"region". |
boolean |
containsStreetAddress()
Check if this object contains
"street_address". |
static Provider |
extract(Map<?,?> map,
String key)
Create a
Provider instance from an object in the given map. |
String |
getCountry()
Get the country of the provider's address
|
String |
getFormatted()
Get the formatted address of the provider.
|
String |
getLocality()
Get the locality of the provider's address.
|
String |
getName()
Get the name of the provider.
|
String |
getPostalCode()
Get the postal code of the provider's address.
|
String |
getRegion()
Get the region of the provider's address.
|
String |
getStreetAddress()
Get the street address of the provider's address.
|
String |
removeCountry()
Remove
"country" from this object. |
String |
removeFormatted()
Remove
"formatted" from this object. |
String |
removeLocality()
Remove
"locality" from this object. |
String |
removeName()
Remove
"name" from this object. |
String |
removePostalCode()
Remove
"postal_code" from this object. |
String |
removeRegion()
Remove
"region" from this object. |
String |
removeStreetAddress()
Remove
"street_address" from this object. |
Provider |
setCountry(String country)
Set the country of the provider's address
|
Provider |
setFormatted(String formatted)
Set the formatted address of the provider.
|
Provider |
setLocality(String locality)
Set the locality of the provider's address.
|
Provider |
setName(String name)
Set the name of the provider.
|
Provider |
setPostalCode(String postalCode)
Set the postal code of the provider's address.
|
Provider |
setRegion(String region)
Set the region of the provider's address.
|
Provider |
setStreetAddress(String streetAddress)
Set the street address of the provider's address.
|
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizepublic String getName()
public Provider setName(String name)
name - The name of the provider.this object.public boolean containsName()
"name".true if this object contains "name".public String removeName()
"name" from this object.public String getFormatted()
public Provider setFormatted(String formatted)
formatted - The formatted address of the provider.this object.public boolean containsFormatted()
"formatted".true if this object contains "formatted".public String removeFormatted()
"formatted" from this object.public String getStreetAddress()
public Provider setStreetAddress(String streetAddress)
streetAddress - The street address of the provider's address.this object.public boolean containsStreetAddress()
"street_address".true if this object contains "street_address".public String removeStreetAddress()
"street_address" from this object.public String getLocality()
public Provider setLocality(String locality)
locality - The locality of the provider's address.this object.public boolean containsLocality()
"locality".true if this object contains "locality".public String removeLocality()
"locality" from this object.public String getRegion()
public Provider setRegion(String region)
region - The region of the provider's address.this object.public boolean containsRegion()
"region".true if this object contains "region".public String removeRegion()
"region" from this object.public String getPostalCode()
public Provider setPostalCode(String postalCode)
postalCode - The postal code of the provider's address.this object.public boolean containsPostalCode()
"postal_code".true if this object contains "postal_code".public String removePostalCode()
"postal_code" from this object.public String getCountry()
public Provider setCountry(String country)
country - The country of the provider's address.this object.public boolean containsCountry()
"country".true if this object contains "country".public String removeCountry()
"country" from this object.public static Provider extract(Map<?,?> map, String key) throws IdentityAssuranceException
Provider instance from an object in the given map.map - A map that may contain "provider".key - The key that identifies the object in the map. In normal cases,
the key is "provider".Provider instance that represents "provider".
If the map does not contain the give key, null is returned.IdentityAssuranceException - The structure of the map does not conform to the specification
(OpenID Connect for Identity Assurance 1.0).Copyright © 2021. All rights reserved.