Interface SubjectReference

    • Method Detail

      • collectionIdentifier

        java.lang.String collectionIdentifier()
        Gets the identifier of the collection containing the subject being referenced.
        Returns:
        The identifier of the collection holding this subject
      • subjectIdentifier

        java.lang.String subjectIdentifier()
        Gets the identifier of the subject.
        Returns:
        The subject identifier
      • resolve

        java.util.concurrent.CompletableFuture<? extends Subject> resolve()
        Resolves and returns the Subject being referenced.

        The returned future will complete exceptionally if the subject collection with the given identifier cannot be loaded.

        Returns:
        The subject being referenced by this instance.