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
The class that represents the constraint for
utility_bill.- Since:
- 2.63
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UtilityBillConstraintCreate aUtilityBillConstraintinstance from the given object.getDate()Get the constraint fordate.Get the constraint forprovider.voidsetDate(LeafConstraint date) Set the constraint fordate.voidsetProvider(ProviderConstraint provider) Set the constraint forprovider.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
-
Constructor Details
-
UtilityBillConstraint
public UtilityBillConstraint()
-
-
Method Details
-
getProvider
Get the constraint forprovider.- Returns:
- The constraint for
provider.
-
setProvider
Set the constraint forprovider.- Parameters:
constraint- The constraint forprovider.
-
getDate
Get the constraint fordate.- Returns:
- The constraint for
date.
-
setDate
Set the constraint fordate.- Parameters:
constraint- The constraint fordate.
-
extract
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
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.
-