com.ontotext.ordi.wsmo4rdf
Interface WsmoSource

All Superinterfaces:
DataSource, WarningAware, Wrapper
All Known Implementing Classes:
RemoteWsmoSource, WsmoSourceImpl

public interface WsmoSource
extends DataSource


Field Summary
static String ORDI_SOURCE
          Parameter to be supplied in the constructor of the implementation.
 
Method Summary
 WsmoConnection getConnection()
          Create new connection with default values.
 WsmoConnection getConnection(String user, String pass)
          Creates a new connection with specified user name and password.
 
Methods inherited from interface com.ontotext.ordi.DataSource
getMetaData, isShutdown, shutdown
 
Methods inherited from interface com.ontotext.ordi.Wrapper
isWrapperFor, unwrap
 
Methods inherited from interface com.ontotext.ordi.WarningAware
clearWarnings, getWarning
 

Field Detail

ORDI_SOURCE

static final String ORDI_SOURCE
Parameter to be supplied in the constructor of the implementation.

See Also:
Constant Field Values
Method Detail

getConnection

WsmoConnection getConnection()
Create new connection with default values.

Specified by:
getConnection in interface DataSource
Returns:
connection to tripleset model.

getConnection

WsmoConnection getConnection(String user,
                             String pass)
Creates a new connection with specified user name and password.

Specified by:
getConnection in interface DataSource
Parameters:
user - name to be used.
pass - of the specified user.
Returns:
connection to tripleset data model.
Throws:
ORDIException


Copyright © 2008. All Rights Reserved.