Class Vocabulary


  • public class Vocabulary
    extends Object
    Represents a vocabulary in meta schema.

    This contains the id and the related keywords.

    • Field Detail

      • V201909_CORE

        public static final Vocabulary V201909_CORE
      • V201909_APPLICATOR

        public static final Vocabulary V201909_APPLICATOR
      • V201909_VALIDATION

        public static final Vocabulary V201909_VALIDATION
      • V201909_META_DATA

        public static final Vocabulary V201909_META_DATA
      • V201909_FORMAT

        public static final Vocabulary V201909_FORMAT
      • V201909_CONTENT

        public static final Vocabulary V201909_CONTENT
      • V202012_CORE

        public static final Vocabulary V202012_CORE
      • V202012_APPLICATOR

        public static final Vocabulary V202012_APPLICATOR
      • V202012_UNEVALUATED

        public static final Vocabulary V202012_UNEVALUATED
      • V202012_VALIDATION

        public static final Vocabulary V202012_VALIDATION
      • V202012_META_DATA

        public static final Vocabulary V202012_META_DATA
      • V202012_FORMAT_ANNOTATION

        public static final Vocabulary V202012_FORMAT_ANNOTATION
      • V202012_FORMAT_ASSERTION

        public static final Vocabulary V202012_FORMAT_ASSERTION
      • V202012_CONTENT

        public static final Vocabulary V202012_CONTENT
    • Constructor Detail

      • Vocabulary

        public Vocabulary​(String id,
                          String... keywords)
        Constructor.
        Parameters:
        id - the id
        keywords - the keywords
    • Method Detail

      • getId

        public String getId()
        The id of the vocabulary.
        Returns:
        the id
      • getKeywords

        public Set<String> getKeywords()
        The keywords in the vocabulary.
        Returns:
        the keywords
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object