de.fuberlin.wiwiss.d2rq.map
Class PropertyBridge

java.lang.Object
  extended by de.fuberlin.wiwiss.d2rq.map.MapObject
      extended by de.fuberlin.wiwiss.d2rq.map.ResourceMap
          extended by de.fuberlin.wiwiss.d2rq.map.PropertyBridge

public class PropertyBridge
extends ResourceMap


Field Summary
 
Fields inherited from class de.fuberlin.wiwiss.d2rq.map.ResourceMap
aliases, bNodeIdColumns, column, conditions, containsDuplicates, datatype, joins, lang, pattern, refersToClassMap, translateWith, uriColumn, uriPattern, value, valueContainses, valueMaxLength, valueProperty, valueRegexes
 
Constructor Summary
PropertyBridge(com.hp.hpl.jena.rdf.model.Resource resource)
           
 
Method Summary
 void addProperty(com.hp.hpl.jena.rdf.model.Resource property)
           
protected  Relation buildRelation()
           
 NodeMaker nodeMaker()
           
 com.hp.hpl.jena.rdf.model.Resource resource()
           
 void setBelongsToClassMap(ClassMap classMap)
           
 void setColumn(String column)
           
 void setDatatype(String datatype)
           
 void setLang(String lang)
           
 void setPattern(String pattern)
           
 void setRefersToClassMap(ClassMap classMap)
           
 void setValue(com.hp.hpl.jena.rdf.model.RDFNode value)
           
 Collection toRDFRelations()
           
 String toString()
           
 void validate()
           
 
Methods inherited from class de.fuberlin.wiwiss.d2rq.map.ResourceMap
addAlias, addCondition, addJoin, addValueContains, addValueRegex, assertHasPrimarySpec, buildNodeMakerForReferringPropertyBridge, relation, relationBuilder, setBNodeIdColumns, setContainsDuplicates, setTranslateWith, setURIColumn, setURIPattern, setValueMaxLength, wrapValueSource
 
Methods inherited from class de.fuberlin.wiwiss.d2rq.map.MapObject
assertArgumentNotNull, assertHasBeenDefined, assertNotYetDefined
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyBridge

public PropertyBridge(com.hp.hpl.jena.rdf.model.Resource resource)
Method Detail

resource

public com.hp.hpl.jena.rdf.model.Resource resource()
Overrides:
resource in class MapObject

setBelongsToClassMap

public void setBelongsToClassMap(ClassMap classMap)

setColumn

public void setColumn(String column)

setPattern

public void setPattern(String pattern)

setDatatype

public void setDatatype(String datatype)

setLang

public void setLang(String lang)

setValue

public void setValue(com.hp.hpl.jena.rdf.model.RDFNode value)

setRefersToClassMap

public void setRefersToClassMap(ClassMap classMap)

addProperty

public void addProperty(com.hp.hpl.jena.rdf.model.Resource property)

validate

public void validate()
              throws D2RQException
Specified by:
validate in class MapObject
Throws:
D2RQException

buildRelation

protected Relation buildRelation()
Specified by:
buildRelation in class ResourceMap

nodeMaker

public NodeMaker nodeMaker()
Overrides:
nodeMaker in class ResourceMap

toRDFRelations

public Collection toRDFRelations()

toString

public String toString()
Overrides:
toString in class MapObject