public class NamedGraphMetadata extends Object
Constructor and Description |
---|
NamedGraphMetadata(String namedGraphURI)
Creates a new container of metadata for a named graph with the selected URI.
|
Modifier and Type | Method and Description |
---|---|
Date |
getInsertedAt()
Return date the named graph was stored to the RDF store.
|
String |
getInsertedBy() |
List<String> |
getLicences() |
String |
getNamedGraphURI()
Return URI of the named graph this metadata relate to.
|
List<String> |
getPublishers()
Return URIs identifying publishers of data in the named graph.
|
Double |
getScore()
Return (error localization) score of the named graph.
|
Set<String> |
getSources()
Return data sources the named graph was retrieved from.
|
Double |
getTotalPublishersScore()
Return (Quality Assessment) score of the publishers.
|
String |
getUpdateTag()
Returns update tag, which identifies set of graphs that update each other.
|
void |
setInsertedAt(Date stored)
Set Date the named graph was stored to the RDF store in these metadata.
|
void |
setInsertedBy(String insertedBy) |
void |
setLicences(List<String> licenses) |
void |
setPublishers(List<String> publishers)
Set URIs identifying the publishers of data in the named graph in these metadata.
|
void |
setScore(Double score)
Set (error localization) score of the named graph in these metadata.
|
void |
setSources(Set<String> sources)
Set data sources the named graph was retrieved from.
|
void |
setTotalPublishersScore(Double totalPublishersScore)
Set (Quality Assessment) scores of the publishers.
|
void |
setUpdateTag(String updateTag)
Sets update tag, which identifies set of graphs that update each other.
|
String |
toString() |
public NamedGraphMetadata(String namedGraphURI)
namedGraphURI
- URI of the named graphpublic final String getNamedGraphURI()
public final Set<String> getSources()
public final void setSources(Set<String> sources)
sources
- URIs of data sourcepublic final List<String> getPublishers()
public final void setPublishers(List<String> publishers)
publishers
- URIs of publisherspublic final Double getScore()
public final void setScore(Double score)
score
- of the named graph or null if the score is unknownpublic final Double getTotalPublishersScore()
public final void setTotalPublishersScore(Double totalPublishersScore)
totalPublishersScore
- total score of the publishers of the named graph or null
if the score is unknownpublic final Date getInsertedAt()
public final void setInsertedAt(Date stored)
stored
- date the named graph was stored on or null if the date is unknownpublic String getInsertedBy()
public void setInsertedBy(String insertedBy)
insertedBy
- the user that inserted the graphpublic void setLicences(List<String> licenses)
licenses
- of named graph datapublic final String getUpdateTag()
public final void setUpdateTag(String updateTag)
updateTag
- graph update tagCopyright © 2013. All Rights Reserved.