Class ClaimType


  • public class ClaimType
    extends Object
    This class ClaimType represents Identity ClaimType Element.
    • Constructor Detail

      • ClaimType

        public ClaimType​(String nameSpaceURI)
        Constructor
        Parameters:
        nameSpaceURI - the name space for the claim type.
    • Method Detail

      • getName

        public String getName()
        Returns the name for the claim.
        Returns:
        the name of the claim.
      • setName

        public void setName​(String name)
        Sets the name of the claim.
        Parameters:
        name - name of the claim.
      • isOptional

        public boolean isOptional()
        Returns true if the claim is optional.
        Returns:
        true if the clam is optional.
      • setOptional

        public void setOptional​(boolean optional)
        Sets the optional flag.
        Parameters:
        optional - true if the claim is optional.
      • toXMLString

        public String toXMLString()
        Returns to an XML String for the ClaimType.
        Returns:
        the XML String for the ClaimType.