Enum FacetType

    • Enum Constant Detail

      • Year

        public static final FacetType Year
        A year.
      • State

        public static final FacetType State
        A (geographic) state.
      • Province

        public static final FacetType Province
        A province.
      • Country

        public static final FacetType Country
        A country.
      • City

        public static final FacetType City
        A city.
      • Parish

        public static final FacetType Parish
        A parish
      • Township

        public static final FacetType Township
        A township.
      • Page

        public static final FacetType Page
        A page.
      • Volume

        public static final FacetType Volume
        A volume.
      • Date

        public static final FacetType Date
        A date.
      • Place

        public static final FacetType Place
        A place.
      • Name

        public static final FacetType Name
        A name.
      • Gender

        public static final FacetType Gender
        A gender.
      • OTHER

        public static final FacetType OTHER
        Custom
    • Method Detail

      • values

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

        public static FacetType 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 FacetType fromQNameURI​(URI qname)
        Get the enumeration from the QName.
        Parameters:
        qname - The qname.
        Returns:
        The enumeration.