de.fuberlin.wiwiss.d2rq.map
Class ClassMap

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.ClassMap

public class ClassMap
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
ClassMap(Resource classMapResource)
           
 
Method Summary
 void addAdditionalProperty(Resource property, RDFNode value)
           
 void addClass(Resource class_)
           
 void addPropertyBridge(PropertyBridge bridge)
           
protected  Relation buildRelation()
           
 Collection compiledPropertyBridges()
           
 Database database()
           
 Collection propertyBridges()
           
 Resource resource()
           
 void setDatabase(Database database)
           
 String toString()
           
 void validate()
           
 
Methods inherited from class de.fuberlin.wiwiss.d2rq.map.ResourceMap
addAlias, addCondition, addJoin, addValueContains, addValueRegex, assertHasPrimarySpec, buildAliasedNodeMaker, nodeMaker, 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

ClassMap

public ClassMap(Resource classMapResource)
Method Detail

resource

public Resource resource()
Overrides:
resource in class MapObject

setDatabase

public void setDatabase(Database database)

database

public Database database()

addClass

public void addClass(Resource class_)

addAdditionalProperty

public void addAdditionalProperty(Resource property,
                                  RDFNode value)

addPropertyBridge

public void addPropertyBridge(PropertyBridge bridge)

propertyBridges

public Collection propertyBridges()

validate

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

compiledPropertyBridges

public Collection compiledPropertyBridges()

buildRelation

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

toString

public String toString()
Overrides:
toString in class MapObject