Class MetadataSource

    • Field Detail

      • sourceId

        @Nullable
        private String sourceId
        An identifier for the source of the metadata, typically the resolver ID.
      • trusted

        private boolean trusted
        Flag indicating whether the metadata source is trusted.
    • Constructor Detail

      • MetadataSource

        public MetadataSource()
    • Method Detail

      • getSourceId

        @Nullable
        public String getSourceId()
        Get identifier of the metadata source.
        Returns:
        source identifier
      • setSourceId

        public void setSourceId​(@Nullable
                                String id)
        Set identifier of the metadata source.
        Parameters:
        id - source identifier
      • isTrusted

        public boolean isTrusted()
        Get whether the metadata source is trusted.
        Returns:
        true if trusted, false if not
      • setTrusted

        public void setTrusted​(boolean flag)
        Set whether the metadata source is trusted.
        Parameters:
        flag - true if trusted, false if not