Package com.inrupt.client.accessgrant
Class Status
- java.lang.Object
-
- com.inrupt.client.accessgrant.Status
-
public class Status extends Object
A class for representing status information of an Access Grant.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URI
getCredential()
Get the identifier for the status list credential.URI
getIdentifier()
Get the identifier for this credential status.int
getIndex()
Get the index value for this credential status.String
getType()
Get the type of this credential status.
-
-
-
Constructor Detail
-
Status
public Status(URI identifier, String type, URI credential, int index)
Create a new Status object for an Access Grant.- Parameters:
identifier
- the status identifiertype
- the credential status typecredential
- the identifier for the status list credentialindex
- the index offset for the status list credential
-
-
Method Detail
-
getIndex
public int getIndex()
Get the index value for this credential status.- Returns:
- the index value
-
getCredential
public URI getCredential()
Get the identifier for the status list credential.- Returns:
- the status credential identifier
-
getIdentifier
public URI getIdentifier()
Get the identifier for this credential status.- Returns:
- the status identifier
-
getType
public String getType()
Get the type of this credential status.- Returns:
- the status type
-
-