Package org.n52.shetland.rdf.dct
Class Spatial
- java.lang.Object
-
- org.n52.shetland.rdf.AbstractValue
-
- org.n52.shetland.rdf.AbstractResource
-
- org.n52.shetland.rdf.dct.Spatial
-
- All Implemented Interfaces:
DctRdfPrefix,RdfPrefix,ResourceAdder
public class Spatial extends AbstractResource implements DctRdfPrefix
-
-
Field Summary
-
Fields inherited from interface org.n52.shetland.rdf.dct.DctRdfPrefix
NS_PREFIX
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SpatialaddLocation(Location location)org.apache.jena.rdf.model.ResourceaddToResource(org.apache.jena.rdf.model.Model model, org.apache.jena.rdf.model.Resource parent)List<Location>getLocations()org.apache.jena.rdf.model.PropertygetProperty()SpatialsetLocations(Collection<Location> locations)-
Methods inherited from class org.n52.shetland.rdf.AbstractValue
getValue
-
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.dct.DctRdfPrefix
getNamespace, getPrefix
-
Methods inherited from interface org.n52.shetland.rdf.RdfPrefix
addNsPrefix
-
-
-
-
Constructor Detail
-
Spatial
public Spatial(String value)
-
Spatial
public Spatial(Location location)
-
Spatial
public Spatial(Collection<Location> locations)
-
-
Method Detail
-
setLocations
public Spatial setLocations(Collection<Location> locations)
-
getProperty
public org.apache.jena.rdf.model.Property getProperty()
- Specified by:
getPropertyin classAbstractValue
-
addToResource
public org.apache.jena.rdf.model.Resource addToResource(org.apache.jena.rdf.model.Model model, org.apache.jena.rdf.model.Resource parent)- Specified by:
addToResourcein interfaceResourceAdder- Overrides:
addToResourcein classAbstractResource
-
-