Enum DublinCoreType

    • Enum Constant Detail

      • DATE

        public static final DublinCoreType DATE
        A point or period of time associated with an event in the lifecycle of the resource.
      • DESCRIPTION

        public static final DublinCoreType DESCRIPTION
        An account of the resource.
      • FORMAT

        public static final DublinCoreType FORMAT
        The file format, physical medium, or dimensions of the resource.
      • IDENTIFIER

        public static final DublinCoreType IDENTIFIER
        An unambiguous reference to the resource within a given context.
      • SOURCE

        public static final DublinCoreType SOURCE
        A related resource from which the described resource is derived.
      • TITLE

        public static final DublinCoreType TITLE
        A name given to the resource.
    • Method Detail

      • values

        public static DublinCoreType[] 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 (DublinCoreType c : DublinCoreType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DublinCoreType 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
      • getName

        public String getName()
        Get the term name
        Returns:
        term name
      • getSynonyms

        public String[] getSynonyms()
        Get the synonymous column names
        Returns:
        synonyms
      • fromName

        public static DublinCoreType fromName​(String name)
        Get the Dublin Core Type from the term name
        Parameters:
        name - term name
        Returns:
        Dublin Core type