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 UtilityBillConstraintextract(Map<?,?> map)Create aUtilityBillConstraintinstance from the given object.LeafConstraintgetDate()Get the constraint fordate.ProviderConstraintgetProvider()Get the constraint forprovider.voidsetDate(LeafConstraint date)Set the constraint fordate.voidsetProvider(ProviderConstraint provider)Set the constraint forprovider.Map<String,Object>toMap()Create aMapinstance 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 aUtilityBillConstraintinstance from the given object.- Parameters:
map- A map that represents"utility_bill".- Returns:
- A
UtilityBillConstraintinstance 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:BaseConstraintCreate aMapinstance 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:
toMapin classEvidenceConstraint- Returns:
- A
Mapinstance that represents this object. IfBaseConstraint.exists()returnsfalseorBaseConstraint.isNull()returnstrue, this method returns null.
-
-