Package org.n52.shetland.rdf.dcat
Class Distribution
- java.lang.Object
-
- org.n52.shetland.rdf.AbstractTitleDescription<Distribution>
-
- org.n52.shetland.rdf.dcat.Distribution
-
- All Implemented Interfaces:
DcatRdfPrefix,ModelAdder,RDFElement,RdfPrefix
public class Distribution extends AbstractTitleDescription<Distribution> implements RDFElement, DcatRdfPrefix
-
-
Field Summary
-
Fields inherited from interface org.n52.shetland.rdf.dcat.DcatRdfPrefix
NS_PREFIX
-
-
Constructor Summary
Constructors Constructor Description Distribution(AccessURL accessURL)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DistributionaddAccessURL(AccessURL accessURL)DistributionaddDownloadURL(DownloadURL downloadURL)org.apache.jena.rdf.model.ModeladdToModel(org.apache.jena.rdf.model.Model model)List<AccessURL>getAccessURLs()List<DownloadURL>getDownloadURLs()FormatgetFormat()LicensegetLicense()org.apache.jena.rdf.model.ResourcegetResource(org.apache.jena.rdf.model.Model model)DistributionsetAccessURLs(List<AccessURL> accessURLs)DistributionsetDownloadURLs(List<DownloadURL> downloadURLs)voidsetFormat(Format format)voidsetLicense(License license)-
Methods inherited from class org.n52.shetland.rdf.AbstractTitleDescription
addDesctiption, addTitle, addTitleAndDescription, getDesctiptions, getTitles, setDesctiptions, setTitles
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.n52.shetland.rdf.dcat.DcatRdfPrefix
getNamespace, getPrefix
-
Methods inherited from interface org.n52.shetland.rdf.RdfPrefix
addNsPrefix
-
-
-
-
Constructor Detail
-
Distribution
public Distribution(AccessURL accessURL)
-
-
Method Detail
-
setAccessURLs
public Distribution setAccessURLs(List<AccessURL> accessURLs)
-
addAccessURL
public Distribution addAccessURL(AccessURL accessURL)
-
getDownloadURLs
public List<DownloadURL> getDownloadURLs()
-
setDownloadURLs
public Distribution setDownloadURLs(List<DownloadURL> downloadURLs)
-
addDownloadURL
public Distribution addDownloadURL(DownloadURL downloadURL)
-
getFormat
public Format getFormat()
-
setFormat
public void setFormat(Format format)
-
getLicense
public License getLicense()
-
setLicense
public void setLicense(License license)
-
getResource
public org.apache.jena.rdf.model.Resource getResource(org.apache.jena.rdf.model.Model model)
-
addToModel
public org.apache.jena.rdf.model.Model addToModel(org.apache.jena.rdf.model.Model model)
- Specified by:
addToModelin interfaceModelAdder
-
-