org.trippi.config
Class TrippiProfile

java.lang.Object
  extended by org.trippi.config.TrippiProfile

public class TrippiProfile
extends java.lang.Object

Named settings for working with a specific triplestore.

Author:
cwilper@cs.cornell.edu

Constructor Summary
TrippiProfile(java.lang.String id, java.lang.String label, java.lang.String connectorClassName, java.util.Map configuration)
           
 
Method Summary
 java.util.Map getConfiguration()
           
 TriplestoreConnector getConnector()
           
 java.lang.String getConnectorClassName()
           
 java.lang.String getId()
           
 java.lang.String getLabel()
           
 void setLabel(java.lang.String label)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TrippiProfile

public TrippiProfile(java.lang.String id,
                     java.lang.String label,
                     java.lang.String connectorClassName,
                     java.util.Map configuration)
Method Detail

getId

public java.lang.String getId()

getLabel

public java.lang.String getLabel()

getConnectorClassName

public java.lang.String getConnectorClassName()

getConfiguration

public java.util.Map getConfiguration()

setLabel

public void setLabel(java.lang.String label)

getConnector

public TriplestoreConnector getConnector()
                                  throws TrippiException,
                                         java.lang.ClassNotFoundException
Throws:
TrippiException
java.lang.ClassNotFoundException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object