public class GetRelationships extends RelationshipsRequest
pid
Constructor and Description |
---|
GetRelationships(String subject) |
Modifier and Type | Method and Description |
---|---|
FedoraResponse |
execute(FedoraClient fedora)
Execute this request using the supplied FedoraClient instance.
|
GetRelationships |
format(String format)
The format of the response.
|
GetRelationships |
predicate(String predicate) |
GetRelationships |
subject(String subject)
Deprecated.
use constructor
|
addHeader, addQueryParam, execute, getFirstQueryParam, getHeaders, getQueryParam, getQueryParams, isDefaultClientSet, removeHeader, resource, resource, resource, resource, setDefaultClient, setHeaders, xParam
public GetRelationships(String subject)
@Deprecated public GetRelationships subject(String subject)
null
, defaults to the
URI form of the constructor-provided pid, e.g. info:fedora/demo:1
.subject
- the subject of the relationshippublic GetRelationships predicate(String predicate)
public GetRelationships format(String format)
format
- one of "rdf/xml", "n-triples", "turtle", or "sparql".public FedoraResponse execute(FedoraClient fedora) throws FedoraClientException
FedoraRequest
Execute this request using the supplied FedoraClient instance.
execute
in class FedoraRequest<RelationshipsRequest>
fedora
- an instance of FedoraClientFedoraClientException
- if the HTTP status code of the response is
>= 400.Copyright © 2010-2013 MediaShelf. All Rights Reserved.