de.fuberlin.wiwiss.pubby
Class ResourceDescription

java.lang.Object
  extended by de.fuberlin.wiwiss.pubby.ResourceDescription

public class ResourceDescription
extends java.lang.Object

A convenient interface to an RDF description of a resource. Provides access to its label, a textual comment, detailed representations of its properties, and so on.


Nested Class Summary
 class ResourceDescription.ResourceProperty
           
 class ResourceDescription.Value
           
 
Constructor Summary
ResourceDescription(MappedResource mappedResource, com.hp.hpl.jena.rdf.model.Model model, Configuration config)
           
ResourceDescription(com.hp.hpl.jena.rdf.model.Resource resource, com.hp.hpl.jena.rdf.model.Model model, Configuration config)
           
 
Method Summary
 java.lang.String getComment()
           
 java.lang.String getImageURL()
           
 java.lang.String getLabel()
           
 java.util.List getProperties()
           
 java.lang.String getURI()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceDescription

public ResourceDescription(MappedResource mappedResource,
                           com.hp.hpl.jena.rdf.model.Model model,
                           Configuration config)

ResourceDescription

public ResourceDescription(com.hp.hpl.jena.rdf.model.Resource resource,
                           com.hp.hpl.jena.rdf.model.Model model,
                           Configuration config)
Method Detail

getURI

public java.lang.String getURI()

getLabel

public java.lang.String getLabel()

getComment

public java.lang.String getComment()

getImageURL

public java.lang.String getImageURL()

getProperties

public java.util.List getProperties()