Class UtilityBillConstraint
- java.lang.Object
-
- com.authlete.common.assurance.constraint.BaseConstraint
-
- com.authlete.common.assurance.constraint.EvidenceConstraint
-
- com.authlete.common.assurance.constraint.UtilityBillConstraint
-
- All Implemented Interfaces:
Constraint
public class UtilityBillConstraint extends EvidenceConstraint
The class that represents the constraint forutility_bill
.- Since:
- 2.63
- See Also:
- OpenID Connect for Identity Assurance 1.0
-
-
Constructor Summary
Constructors Constructor Description UtilityBillConstraint()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UtilityBillConstraint
extract(Map<?,?> map)
Create aUtilityBillConstraint
instance from the given object.LeafConstraint
getDate()
Get the constraint fordate
.ProviderConstraint
getProvider()
Get the constraint forprovider
.void
setDate(LeafConstraint date)
Set the constraint fordate
.void
setProvider(ProviderConstraint provider)
Set the constraint forprovider
.Map<String,Object>
toMap()
Create aMap
instance that represents this object in the way conforming to the structure defined in 5.-
Methods inherited from class com.authlete.common.assurance.constraint.EvidenceConstraint
extract, getType, setType
-
-
-
-
Method Detail
-
getProvider
public ProviderConstraint getProvider()
Get the constraint forprovider
.- Returns:
- The constraint for
provider
.
-
setProvider
public void setProvider(ProviderConstraint provider)
Set the constraint forprovider
.- Parameters:
constraint
- The constraint forprovider
.
-
getDate
public LeafConstraint getDate()
Get the constraint fordate
.- Returns:
- The constraint for
date
.
-
setDate
public void setDate(LeafConstraint date)
Set the constraint fordate
.- Parameters:
constraint
- The constraint fordate
.
-
extract
public static UtilityBillConstraint extract(Map<?,?> map) throws ConstraintException
Create aUtilityBillConstraint
instance from the given object.- Parameters:
map
- A map that represents"utility_bill"
.- Returns:
- A
UtilityBillConstraint
instance that represents"utility_bill"
. - Throws:
ConstraintException
- The structure of the map does not conform to the specification (OpenID Connect for Identity Assurance 1.0).
-
toMap
public Map<String,Object> toMap()
Description copied from class:BaseConstraint
Create aMap
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.- Overrides:
toMap
in classEvidenceConstraint
- Returns:
- A
Map
instance that represents this object. IfBaseConstraint.exists()
returnsfalse
orBaseConstraint.isNull()
returnstrue
, this method returns null.
-
-