Page History
...
The connector metadata is an implementation of abstract java class JDBCMetaData. This defines what connection details need to be prompted to the user for creating a connection to a third-party source. This may include parameters like usernames, tokens, hostnames, ports, account names, etc.
Metadata Function List
The Basically, the JDBCMetaData class is used for building a connection wizard for a data source. The following functions need to be implemented to create a basic connection wizard:
...
...
...
public void initialiseParameters();
...
public String buttonPressed(String
...
buttonName)
...
throws
...
Exception;
Helper functions that are also accessible in JDBCMetaData:
...
protected
...
final
...
void
...
addParameter(Parameter
...
p);
...
public void setParameterValue(String
...
key,
...
Object
...
value);
...
public final Object getParameterValue(String
...
key);
...
public boolean isParameterRequired(String
...
key);
...
public boolean hasDependentParameters(String
...
key);
...
Metadata Function Definitions
Anchor | ||||
---|---|---|---|---|
|
public JDBCMetaData(); (Constructor)
...
Code Block | ||
---|---|---|
| ||
public SkiTeamMetaData() { super(); sourceName = "Ski Team Source"; sourceCode = "SKI_DATA_SOURCE"; driverName = SkiTeamDataSource.class.getName(); sourceType = DBType.THIRD_PARTY; } |
Anchor |
---|
|
public void initialiseParameters();
...