public abstract class AbstractDBResourceParameters extends AbstractResourceParameters implements DBResourceParameters
PARAMETERS_DEFINITION_NAME
DBNAME_PARAMTER_NAME, HOST_PARAMTER_NAME, PASSWORD_PARAMTER_NAME, PORT_PARAMTER_NAME, USER_PARAMTER_NAME
CRS_PARAMTER_NAME
Constructor and Description |
---|
AbstractDBResourceParameters(java.lang.String parametersDefinitionName,
java.lang.String typeName) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDBName()
Return the value of
data base name parameter |
protected DelegatedDynObject |
getDelegatedDynObject()
Returns an instance of the
DynObject to delegate to. |
java.lang.String |
getHost()
Return the value of
host parameter |
java.lang.String |
getPassword()
Return the value of
password parameter |
java.lang.Integer |
getPort()
Return the value of
port parameter |
java.lang.String |
getTypeName()
Returns the type name of the related resource.
|
java.lang.String |
getUser()
Return the value of
user parameter |
void |
setDBName(java.lang.String dbName)
Set
data base name parameter value |
void |
setHost(java.lang.String host)
Set
host parameter value |
void |
setPassword(java.lang.String password)
Set
password parameter value |
void |
setPort(int port)
Set
port parameter value |
void |
setPort(java.lang.Integer port)
Set
port parameter value |
void |
setUser(java.lang.String user)
Set
user parameter value |
getResurceID
clear, copyValuesTo, delegate, equals, fromByteArray, fromJson, getCause, getCopy, getDataStoreName, getDescription, getDynClass, getDynValue, getMessage, getProviderName, hasDynValue, hashCode, implement, invokeDynMethod, invokeDynMethod, isValid, loadFromState, loadPRJ, loadWLD, saveToState, setDynValue, toByteArray, toJson, toJsonBuilder, toString, toString, validate
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
clear, getCopy, toByteArray, toString, validate
loadFromState, saveToState
clone, delegate, getDynClass, getDynValue, hasDynValue, implement, invokeDynMethod, invokeDynMethod, setDynValue
toJson, toJson, toJsonBuilder, toJsonBuilder
fromJson
public AbstractDBResourceParameters(java.lang.String parametersDefinitionName, java.lang.String typeName)
protected DelegatedDynObject getDelegatedDynObject()
AbstractDataParameters
DynObject
to delegate to.getDelegatedDynObject
in class AbstractDataParameters
DynObject
public java.lang.String getTypeName()
ResourceParameters
getTypeName
in interface DBResourceParameters
getTypeName
in interface ResourceParameters
public java.lang.String getHost()
DBParameters
host
parametergetHost
in interface DBParameters
getHost
in interface DBResourceParameters
public java.lang.Integer getPort()
DBParameters
port
parametergetPort
in interface DBParameters
getPort
in interface DBResourceParameters
public java.lang.String getDBName()
DBParameters
data base name
parametergetDBName
in interface DBParameters
getDBName
in interface DBResourceParameters
public java.lang.String getUser()
DBParameters
user
parametergetUser
in interface DBParameters
getUser
in interface DBResourceParameters
public java.lang.String getPassword()
DBParameters
password
parametergetPassword
in interface DBParameters
getPassword
in interface DBResourceParameters
public void setHost(java.lang.String host)
host
parameter valuesetHost
in interface DBParameters
setHost
in interface DBResourceParameters
host
- public void setPort(int port)
port
parameter valuesetPort
in interface DBResourceParameters
port
- public void setPort(java.lang.Integer port)
port
parameter valuesetPort
in interface DBParameters
setPort
in interface DBResourceParameters
port
- public void setDBName(java.lang.String dbName)
data base name
parameter valuesetDBName
in interface DBParameters
setDBName
in interface DBResourceParameters
data
- base namepublic void setUser(java.lang.String user)
user
parameter valuesetUser
in interface DBParameters
setUser
in interface DBResourceParameters
user
- public void setPassword(java.lang.String password)
password
parameter valuesetPassword
in interface DBParameters
setPassword
in interface DBResourceParameters
password
-