Interface PrismSchema

    • Method Detail

      • getNamespace

        @NotNull
        @NotNull String getNamespace()
        Returns schema namespace. All schema definitions are placed in the returned namespace.
        Returns:
        schema namespace
      • getDefinitions

        @NotNull
        @NotNull Collection<Definition> getDefinitions()
        Returns set of definitions. The set contains all definitions of all types that were parsed. Order of definitions is insignificant.
        Returns:
        set of definitions
      • getDefinitions

        @NotNull
        <T extends Definition> @NotNull List<T> getDefinitions​(@NotNull
                                                               @NotNull Class<T> type)
        Returns set of definitions of a given type. The set contains all definitions of the given type that were parsed. Order of definitions is insignificant.
        Returns:
        set of definitions
      • isEmpty

        boolean isEmpty()
      • isNullOrEmpty

        static boolean isNullOrEmpty​(PrismSchema schema)
      • isNotEmpty

        static boolean isNotEmpty​(PrismSchema schema)
      • getSubstitutions

        com.google.common.collect.Multimap<QName,​ItemDefinition<?>> getSubstitutions()