Interface SubjectReference

    • Method Detail

      • collectionIdentifier

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

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

        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.