public class ProviderConstraint extends BaseConstraint
utility_bill/provider.| Constructor and Description |
|---|
ProviderConstraint() |
| Modifier and Type | Method and Description |
|---|---|
static ProviderConstraint |
extract(Map<?,?> map,
String key)
Create a
ProviderConstraint instance from an object in the given map. |
LeafConstraint |
getCountry()
Get the constraint for
country. |
LeafConstraint |
getFormatted()
Get the constraint for
formatted. |
LeafConstraint |
getLocality()
Get the constraint for
locality. |
LeafConstraint |
getName()
Get the constraint for
name. |
LeafConstraint |
getPostalCode()
Get the constraint for
postal_code. |
LeafConstraint |
getRegion()
Get the constraint for
region. |
LeafConstraint |
getStreetAddress()
Get the constraint for
street_address. |
void |
setCountry(LeafConstraint constraint)
Set the constraint for
country. |
void |
setFormatted(LeafConstraint constraint)
Set the constraint for
formatted. |
void |
setLocality(LeafConstraint constraint)
Set the constraint for
locality. |
void |
setName(LeafConstraint constraint)
Set the constraint for
name. |
void |
setPostalCode(LeafConstraint constraint)
Set the constraint for
postal_code. |
void |
setRegion(LeafConstraint constraint)
Set the constraint for
region. |
void |
setStreetAddress(LeafConstraint constraint)
Set the constraint for
street_address. |
Map<String,Object> |
toMap()
Create a
Map instance that represents this object in the way
conforming to the structure defined in 5. |
public LeafConstraint getName()
name.name.public void setName(LeafConstraint constraint)
name.constraint - The constraint for name.public LeafConstraint getFormatted()
formatted.formatted.public void setFormatted(LeafConstraint constraint)
formatted.constraint - The constraint for formatted.public LeafConstraint getStreetAddress()
street_address.street_address.public void setStreetAddress(LeafConstraint constraint)
street_address.constraint - The constraint for street_address.public LeafConstraint getLocality()
locality.locality.public void setLocality(LeafConstraint constraint)
locality.constraint - The constraint for locality.public LeafConstraint getRegion()
region.region.public void setRegion(LeafConstraint constraint)
region.constraint - The constraint for region.public LeafConstraint getPostalCode()
postal_code.postal_code.public void setPostalCode(LeafConstraint constraint)
postal_code.constraint - The constraint for postal_code.public LeafConstraint getCountry()
country.country.public void setCountry(LeafConstraint constraint)
country.constraint - The constraint for country.public static ProviderConstraint extract(Map<?,?> map, String key) throws ConstraintException
ProviderConstraint 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".ProviderConstraint instance that represents
"provider". Even if the map does not contain the given
key, an instance of ProviderConstraint is returned.ConstraintException - The structure of the map does not conform to the specification
(OpenID Connect for Identity Assurance 1.0).public Map<String,Object> toMap()
BaseConstraintMap instance that represents this object in the way
conforming to the structure defined in 5. Requesting Verified Claims of OpenID Connect for Identity Assurance 1.0.toMap in class BaseConstraintMap instance that represents this object.
If BaseConstraint.exists() returns false or BaseConstraint.isNull()
returns true, this method returns null.Copyright © 2021. All rights reserved.