Package org.gvsig.fmap.dal.store.db
Interface DBNewStoreParameters
- All Superinterfaces:
DataParameters,DataStoreParameters,DBConnectionParameter,DBParameters,org.gvsig.tools.dynobject.DynObject,NewDataStoreParameters,NewFeatureStoreParameters,org.gvsig.tools.persistence.Persistent,org.gvsig.json.SupportFromJson,org.gvsig.json.SupportToJson
- All Known Subinterfaces:
JDBCNewStoreParameters
- Author:
- fdiaz
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final StringParameter name for the name oftableFields inherited from interface org.gvsig.fmap.dal.DataParameters
CRS_PARAMTER_NAMEFields inherited from interface org.gvsig.fmap.dal.resource.db.DBParameters
DBNAME_PARAMTER_NAME, HOST_PARAMTER_NAME, PASSWORD_PARAMTER_NAME, PORT_PARAMTER_NAME, USER_PARAMTER_NAMEFields inherited from interface org.gvsig.fmap.dal.feature.NewFeatureStoreParameters
FEATURETYPE_PARAMTER_NAME -
Method Summary
Modifier and TypeMethodDescriptionReturns the DataStore's nameReturn the value ofdata base nameparameterReturns the DataStore's descriptiongetHost()Return the value ofhostparameterReturn the value ofpasswordparametergetPort()Return the value ofportparametergetTable()Gettableparameter value
This parameters describes what table we want to create.getUser()Return the value ofuserparameterbooleanisValid()Indicates whether these parameters are valid.voidSetdata base name/code> parameter valuevoidsetDefaultFeatureType(FeatureType featureType) voidvoidsetPassword(String password) Setpassword/code> parameter valuevoidsetPort(int port) voidSetport/code> parameter valuevoidSettableparameter value
This parameters describes what table we want to create.voidSetuser/code> parameter valueMethods inherited from interface org.gvsig.fmap.dal.DataParameters
clear, getCopy, toByteArray, toString, validateMethods inherited from interface org.gvsig.fmap.dal.DataStoreParameters
getProviderName, getSourceId, isTheSameExplorer, isTheSameStoreMethods inherited from interface org.gvsig.tools.dynobject.DynObject
delegate, getDynClass, getDynValue, hasDynValue, implement, invokeDynMethod, invokeDynMethod, setDynValueMethods inherited from interface org.gvsig.tools.persistence.Persistent
loadFromState, saveToStateMethods inherited from interface org.gvsig.json.SupportFromJson
fromJsonMethods inherited from interface org.gvsig.json.SupportToJson
toJson, toJson, toJsonBuilder, toJsonBuilder
-
Field Details
-
PARAMETERS_DEFINITION_NAME
- See Also:
-
TABLE_PARAMTER_NAME
Parameter name for the name oftable- See Also:
-
-
Method Details
-
getDBName
String getDBName()Description copied from interface:DBParametersReturn the value ofdata base nameparameter- Specified by:
getDBNamein interfaceDBParameters- Returns:
-
getDataStoreName
String getDataStoreName()Description copied from interface:DataStoreParametersReturns the DataStore's name- Specified by:
getDataStoreNamein interfaceDataStoreParameters- Returns:
- a String containing the DataStore's name
-
getDefaultFeatureType
EditableFeatureType getDefaultFeatureType()- Specified by:
getDefaultFeatureTypein interfaceNewFeatureStoreParameters
-
getDescription
String getDescription()Description copied from interface:DataStoreParametersReturns the DataStore's description- Specified by:
getDescriptionin interfaceDataStoreParameters- Returns:
- a String containing the DataStore's description
-
getHost
String getHost()Description copied from interface:DBParametersReturn the value ofhostparameter- Specified by:
getHostin interfaceDBParameters- Returns:
-
getPassword
String getPassword()Description copied from interface:DBParametersReturn the value ofpasswordparameter- Specified by:
getPasswordin interfaceDBParameters- Returns:
-
getPort
Integer getPort()Description copied from interface:DBParametersReturn the value ofportparameter- Specified by:
getPortin interfaceDBParameters- Returns:
-
getTable
String getTable()Gettableparameter value
This parameters describes what table we want to create.- See Also:
-
getUser
String getUser()Description copied from interface:DBParametersReturn the value ofuserparameter- Specified by:
getUserin interfaceDBParameters- Returns:
-
isValid
boolean isValid()Description copied from interface:DataStoreParametersIndicates whether these parameters are valid.- Specified by:
isValidin interfaceDataStoreParameters- Returns:
- true if these parameters are valid, false if not.
-
setDBName
Setdata base name/code> parameter value- Specified by:
setDBNamein interfaceDBParameters- Parameters:
data- base name
-
setDefaultFeatureType
- Specified by:
setDefaultFeatureTypein interfaceNewFeatureStoreParameters
-
setHost
- Specified by:
setHostin interfaceDBParameters
-
setPassword
Setpassword/code> parameter value- Specified by:
setPasswordin interfaceDBParameters- Parameters:
password-
-
setPort
void setPort(int port) -
setPort
Setport/code> parameter value- Specified by:
setPortin interfaceDBParameters- Parameters:
port-
-
setTable
Settableparameter value
This parameters describes what table we want to create.- Parameters:
table-- See Also:
-
setUser
Setuser/code> parameter value- Specified by:
setUserin interfaceDBParameters- Parameters:
user-
-