de.fuberlin.wiwiss.d2rq.map
Class MapObject

java.lang.Object
  extended by de.fuberlin.wiwiss.d2rq.map.MapObject
Direct Known Subclasses:
Database, ResourceMap, TranslationTable

public abstract class MapObject
extends Object

Abstract base class for classes that represent things in the mapping file.

Version:
$Id: MapObject.java,v 1.2 2006/09/15 20:38:04 cyganiak Exp $
Author:
Richard Cyganiak (richard@cyganiak.de)

Constructor Summary
MapObject(com.hp.hpl.jena.rdf.model.Resource resource)
           
 
Method Summary
protected  void assertArgumentNotNull(Object object, com.hp.hpl.jena.rdf.model.Property property, int errorCode)
           
protected  void assertHasBeenDefined(Object object, com.hp.hpl.jena.rdf.model.Property property, int errorCode)
           
protected  void assertNotYetDefined(Object object, com.hp.hpl.jena.rdf.model.Property property, int errorCode)
           
 com.hp.hpl.jena.rdf.model.Resource resource()
           
 String toString()
           
abstract  void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapObject

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

resource

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

validate

public abstract void validate()
                       throws D2RQException
Throws:
D2RQException

toString

public String toString()
Overrides:
toString in class Object

assertNotYetDefined

protected void assertNotYetDefined(Object object,
                                   com.hp.hpl.jena.rdf.model.Property property,
                                   int errorCode)

assertHasBeenDefined

protected void assertHasBeenDefined(Object object,
                                    com.hp.hpl.jena.rdf.model.Property property,
                                    int errorCode)

assertArgumentNotNull

protected void assertArgumentNotNull(Object object,
                                     com.hp.hpl.jena.rdf.model.Property property,
                                     int errorCode)