p3j.pppm.readerwriter.database
Class PPPMDatabaseReader
java.lang.Object
p3j.pppm.readerwriter.database.PPPMDatabaseReader
- All Implemented Interfaces:
- james.core.data.model.IModelReader
public class PPPMDatabaseReader
- extends Object
- implements james.core.data.model.IModelReader
Model reader to access the PPP model database.
- Author:
- Christina Bohk, Roland Ewald
Method Summary |
james.core.model.symbolic.ISymbolicModel<?> |
read(URI ident)
|
james.core.model.IModel |
read(URI source,
Map<String,?> parameters)
|
protected static james.core.util.misc.Pair<james.core.data.DBConnectionData,Integer> |
resolveModelDBURI(URI modelURI)
Returns important information for the reader, extracted from the
URI . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_DB_URL_SCHEME
public static final String DEFAULT_DB_URL_SCHEME
- Default scheme for the database URL.
- See Also:
- Constant Field Values
PPPMDatabaseReader
public PPPMDatabaseReader()
read
public james.core.model.symbolic.ISymbolicModel<?> read(URI ident)
- Specified by:
read
in interface james.core.data.model.IModelReader
read
public james.core.model.IModel read(URI source,
Map<String,?> parameters)
- Specified by:
read
in interface james.core.data.model.IModelReader
resolveModelDBURI
protected static james.core.util.misc.Pair<james.core.data.DBConnectionData,Integer> resolveModelDBURI(URI modelURI)
- Returns important information for the reader, extracted from the
URI
.
- Parameters:
modelURI
- the URI of the model
- Returns:
- a tuple containing DB connection information and the ID of the
ProjectionModel
to be read
Copyright © 2012. All Rights Reserved.