Class ProviderConstraint

    • Constructor Detail

      • ProviderConstraint

        public ProviderConstraint()
    • Method Detail

      • getName

        public LeafConstraint getName()
        Get the constraint for name.
        Returns:
        The constraint for name.
      • setName

        public void setName​(LeafConstraint constraint)
        Set the constraint for name.
        Parameters:
        constraint - The constraint for name.
      • getFormatted

        public LeafConstraint getFormatted()
        Get the constraint for formatted.
        Returns:
        The constraint for formatted.
        Since:
        2.67
      • setFormatted

        public void setFormatted​(LeafConstraint constraint)
        Set the constraint for formatted.
        Parameters:
        constraint - The constraint for formatted.
        Since:
        2.67
      • getStreetAddress

        public LeafConstraint getStreetAddress()
        Get the constraint for street_address.
        Returns:
        The constraint for street_address.
      • setStreetAddress

        public void setStreetAddress​(LeafConstraint constraint)
        Set the constraint for street_address.
        Parameters:
        constraint - The constraint for street_address.
      • getLocality

        public LeafConstraint getLocality()
        Get the constraint for locality.
        Returns:
        The constraint for locality.
        Since:
        2.67
      • setLocality

        public void setLocality​(LeafConstraint constraint)
        Set the constraint for locality.
        Parameters:
        constraint - The constraint for locality.
        Since:
        2.67
      • getRegion

        public LeafConstraint getRegion()
        Get the constraint for region.
        Returns:
        The constraint for region.
      • setRegion

        public void setRegion​(LeafConstraint constraint)
        Set the constraint for region.
        Parameters:
        constraint - The constraint for region.
      • getPostalCode

        public LeafConstraint getPostalCode()
        Get the constraint for postal_code.
        Returns:
        The constraint for postal_code.
        Since:
        2.67
      • setPostalCode

        public void setPostalCode​(LeafConstraint constraint)
        Set the constraint for postal_code.
        Parameters:
        constraint - The constraint for postal_code.
        Since:
        2.67
      • getCountry

        public LeafConstraint getCountry()
        Get the constraint for country.
        Returns:
        The constraint for country.
      • setCountry

        public void setCountry​(LeafConstraint constraint)
        Set the constraint for country.
        Parameters:
        constraint - The constraint for country.
      • extract

        public static ProviderConstraint extract​(Map<?,​?> map,
                                                 String key)
                                          throws ConstraintException
        Create a ProviderConstraint instance from an object in the given map.
        Parameters:
        map - A map that may contain "provider".
        key - The key that identifies the object in the map. In normal cases, the key is "provider".
        Returns:
        A ProviderConstraint instance that represents "provider". Even if the map does not contain the given key, an instance of ProviderConstraint is returned.
        Throws:
        ConstraintException - The structure of the map does not conform to the specification (OpenID Connect for Identity Assurance 1.0).