public class SpecificResource extends Target
| Constructor and Description |
|---|
SpecificResource()
Standard constructor.
|
SpecificResource(ResourceObject source,
Selector selector)
Constructor setting the source and selector variables.
|
| Modifier and Type | Method and Description |
|---|---|
org.openrdf.repository.object.RDFObject |
getScope()
Gets Refers to http:www.w3.orgnsoa#hasScope
The relationship between a Specific Resource and the resource that provides the scope or context for it in this Annotation.
|
Selector |
getSelector()
Gets Refers to http:www.w3.orgnsoa#hasSelector
The relationship between a oa:SpecificResource and a oa:Selector.
|
org.openrdf.repository.object.RDFObject |
getSource()
Gets Refers to http:www.w3.orgnsoa#hasSource
The relationship between a Specific Resource and the resource that it is a more specific representation of.
|
void |
setScope(ResourceObject scope)
Sets new Refers to http:www.w3.orgnsoa#hasScope
The relationship between a Specific Resource and the resource that provides the scope or context for it in this Annotation.
|
void |
setSelector(Selector selector)
Sets new Refers to http:www.w3.orgnsoa#hasSelector
The relationship between a oa:SpecificResource and a oa:Selector.
|
void |
setSource(ResourceObject source)
Sets new Refers to http:www.w3.orgnsoa#hasSource
The relationship between a Specific Resource and the resource that it is a more specific representation of.
|
String |
toString() |
getNTriples, getObjectConnection, getResource, getResourceAsString, setResource, setResourceAsStringpublic SpecificResource()
public SpecificResource(ResourceObject source, Selector selector)
source - Specifies the original target of the corresponding annotation.selector - Points to the given selector.public Selector getSelector()
public void setSelector(Selector selector)
selector - New value of Refers to http:www.w3.orgnsoa#hasSelector
The relationship between a oa:SpecificResource and a oa:Selector.
There MUST be exactly 0 or 1 oa:hasSelector relationship associated with a Specific Resource..public org.openrdf.repository.object.RDFObject getSource()
public void setSource(ResourceObject source)
source - New value of Refers to http:www.w3.orgnsoa#hasSource
The relationship between a Specific Resource and the resource that it is a more specific representation of.
There must be exactly 1 oa:hasSource relationship associated with a Specific Resource..public org.openrdf.repository.object.RDFObject getScope()
public void setScope(ResourceObject scope)
scope - New value of Refers to http:www.w3.orgnsoa#hasScope
The relationship between a Specific Resource and the resource that provides the scope or context for it in this Annotation.
There MAY be 0 or more hasScope relationships for each Specific Resource..Copyright © 2015 Chair of Distributed Information Systems - University of Passau. All rights reserved.