public class PurgeRelationship extends RelationshipsRequest
pid| Constructor and Description |
|---|
PurgeRelationship(String subject) |
| Modifier and Type | Method and Description |
|---|---|
PurgeRelationship |
datatype(String datatype)
Deprecated.
|
FedoraResponse |
execute(FedoraClient fedora)
Execute this request using the supplied FedoraClient instance.
|
PurgeRelationship |
isLiteral(boolean isLiteral)
Deprecated.
|
PurgeRelationship |
object(String object)
The object of the relationship.
|
PurgeRelationship |
object(String object,
boolean isLiteral)
The object of the relationship as a plain literal.
|
PurgeRelationship |
object(String object,
String datatype)
The object of the relationship as a datatyped literal.
|
PurgeRelationship |
predicate(String predicate) |
PurgeRelationship |
subject(String subject) |
addHeader, addQueryParam, execute, getFirstQueryParam, getHeaders, getQueryParam, getQueryParams, isDefaultClientSet, removeHeader, resource, resource, resource, resource, setDefaultClient, setHeaders, xParampublic PurgeRelationship(String subject)
public PurgeRelationship subject(String subject)
public PurgeRelationship predicate(String predicate)
public PurgeRelationship object(String object)
Unless otherwise indicated with the now-deprecated
isLiteral(boolean) method, the object will be treated as a
resource (i.e. a URI, not as a literal).
object - the object of the relationshippublic PurgeRelationship object(String object, boolean isLiteral)
object - the object of the relationshipisLiteral - whether or not the object is a literal.public PurgeRelationship object(String object, String datatype)
object - the object of the relationshipdatatype - The URI of the XML Schema Datatype of the object literal,
e.g. "http://www.w3.org/2001/XMLSchema#dateTime".public PurgeRelationship isLiteral(boolean isLiteral)
object(String, boolean)isLiteral - public PurgeRelationship datatype(String datatype)
object(String, String)datatype - public FedoraResponse execute(FedoraClient fedora) throws FedoraClientException
FedoraRequestExecute 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.