Class Vocabulary


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

    This contains the IRI and the keywords in the vocabulary.

    • 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 iri,
                          Keyword... keywords)
        Constructor.
        Parameters:
        iri - the iri
        keywords - the keywords
    • Method Detail

      • getIri

        public String getIri()
        The iri of the vocabulary.
        Returns:
        the iri
      • getKeywords

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

        public int hashCode()
        Overrides:
        hashCode in class Object