Enum IdentifierType

    • Enum Constant Detail

      • Primary

        public static final IdentifierType Primary
        The primary identifier for the resource.
      • Evidence

        public static final IdentifierType Evidence
        An identifier for the evidence that supports the resource. For example, when a conclusion about a person is extracted, analyzed and evaluated atomically within the context of a single source, it takes the form of a (extracted) person conclusion, and the extracted conclusion may supply an identifier for the person. As all evidence for the person is gathered, the (working) person conclusion identifies the evidence used to support the conclusion by including each evidence identifier in the list of identifiers for the person.
      • Deprecated

        public static final IdentifierType Deprecated
        An identifier that has been relegated, deprecated, or otherwise downgraded. This identifier is commonly used as the result of a merge when what was once a primary identifier for a person is no longer primary.
      • Persistent

        public static final IdentifierType Persistent
        An identifier that is considered to be a long-term persistent identifier. Applications that provide persistent identifiers are claiming that links to the resource using the identifier won't break.
    • Method Detail

      • values

        public static IdentifierType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (IdentifierType c : IdentifierType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static IdentifierType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • toQNameURI

        public URI toQNameURI()
        Return the QName value for this enum.
        Specified by:
        toQNameURI in interface ControlledVocabulary
        Returns:
        The QName value for this enum.
      • fromQNameURI

        public static IdentifierType fromQNameURI​(URI qname)
        Get the enumeration from the QName.
        Parameters:
        qname - The qname.
        Returns:
        The enumeration.