Class AccessCredentialQuery<T extends AccessCredential>

java.lang.Object
com.inrupt.client.accessgrant.AccessCredentialQuery<T>
Type Parameters:
T - The access credential type

public class AccessCredentialQuery<T extends AccessCredential> extends Object
An object to represent an access credential query.
  • Method Details

    • getResource

      public URI getResource()
      Get the requested resource.
      Returns:
      the resource, may be null
    • getCreator

      public URI getCreator()
      Get the requested creator.
      Returns:
      the creator, may be null
    • getRecipient

      public URI getRecipient()
      Get the requested recipient.
      Returns:
      the recipient, may be null
    • getPurposes

      public Set<URI> getPurposes()
      Get the requested purposes.
      Returns:
      the purpose identifiers, never null
    • getModes

      public Set<String> getModes()
      Get the requested access modes.
      Returns:
      the access modes, never null
    • newBuilder

      public static AccessCredentialQuery.Builder newBuilder()
      Create a new access credential query builder.
      Returns:
      the builder