|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GDBMSDriver
Method Summary | |
---|---|
java.lang.String |
check(Field field,
Value value)
Checks if a given value is suitable for the specified field |
java.lang.String[] |
getAvailableTypes()
Gets a string identificator for each type a field can have |
DriverMetadata |
getDriverMetadata()
Gets the driver specific metadata |
java.lang.String[] |
getParameters(java.lang.String driverType)
Gets the parameters used in creating the type |
boolean |
isReadOnly(int i)
Returns true if the specified field is read only |
boolean |
isValidParameter(java.lang.String driverType,
java.lang.String paramName,
java.lang.String paramValue)
Returns if the given value (paramValue) for the parameter called paramName of the given driver specific type is valid or not |
void |
setDataSourceFactory(DataSourceFactory dsf)
|
Methods inherited from interface com.hardcode.driverManager.Driver |
---|
getName |
Methods inherited from interface com.hardcode.gdbms.engine.data.driver.TypeConverter |
---|
getType |
Method Detail |
---|
void setDataSourceFactory(DataSourceFactory dsf)
DriverMetadata getDriverMetadata() throws DriverException
DriverException
java.lang.String check(Field field, Value value) throws DriverException
field
- value
-
DriverException
boolean isReadOnly(int i) throws DriverException
i
-
DriverException
java.lang.String[] getAvailableTypes() throws DriverException
DriverException
java.lang.String[] getParameters(java.lang.String driverType) throws DriverException
driverType
-
DriverException
boolean isValidParameter(java.lang.String driverType, java.lang.String paramName, java.lang.String paramValue)
driverType
- paramName
- paramValue
- null if the parameter is not specified
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |