1 package com.ontotext.ordi.wsmo4rdf;
2
3 import com.ontotext.ordi.DataSource;
4 import com.ontotext.ordi.exception.ORDIException;
5
6 public interface WsmoSource extends DataSource {
7
8 /**
9 * Parameter to be supplied in the constructor of the implementation.
10 */
11 public final String ORDI_SOURCE = "ordi_source";
12
13 /**
14 * Create new connection with default values.
15 *
16 * @return connection to tripleset model.
17 */
18 public WsmoConnection getConnection();
19
20 /**
21 * Creates a new connection with specified user name and password.
22 *
23 * @param user
24 * name to be used.
25 * @param pass
26 * of the specified user.
27 * @return connection to tripleset data model.
28 * @throws ORDIException
29 */
30 public WsmoConnection getConnection(String user, String pass);
31
32 }