Class MetadataServiceListVersion


  • public final class MetadataServiceListVersion
    extends Object
    A type safe SAML MetadataServiceList enumeration.
    • Method Detail

      • valueOf

        public static final MetadataServiceListVersion valueOf​(int majorVersion,
                                                               int minorVersion)
        Gets the version given the major and minor version number.
        Parameters:
        majorVersion - major version number
        minorVersion - minor version number
        Returns:
        the version
      • valueOf

        public static final MetadataServiceListVersion valueOf​(String version)
        Gets the version for a given version string, such as "1.0".
        Parameters:
        version - version string
        Returns:
        version for the given string
      • getMajorVersion

        public int getMajorVersion()
        Gets the major version of the version.
        Returns:
        the major version of the version
      • getMinorVersion

        public int getMinorVersion()
        Gets the minor version of the version.
        Returns:
        the minor version of the version