public abstract class DBResourceParameters extends AbstractResourceParameters implements DBParameters
Modifier and Type | Field and Description |
---|---|
static String |
PARAMETERS_DEFINITION_NAME |
DBNAME_PARAMTER_NAME, HOST_PARAMTER_NAME, PASSWORD_PARAMTER_NAME, PORT_PARAMTER_NAME, USER_PARAMTER_NAME
Constructor and Description |
---|
DBResourceParameters(String parametersDefinitionName,
String typeName) |
Modifier and Type | Method and Description |
---|---|
String |
getDBName()
Return the value of
data base name parameter |
protected DelegatedDynObject |
getDelegatedDynObject()
Returns an instance of the
DynObject to delegate to. |
String |
getHost()
Return the value of
host parameter |
String |
getPassword()
Return the value of
password parameter |
Integer |
getPort()
Return the value of
port parameter |
String |
getTypeName()
Returns the type name of the related resource.
|
String |
getUser()
Return the value of
user parameter |
void |
setDBName(String dbName)
Set
data base name parameter value |
void |
setHost(String host)
Set
host parameter value |
void |
setPassword(String password)
Set
password parameter value |
void |
setPort(int port)
Set
port parameter value |
void |
setPort(Integer port)
Set
port parameter value |
void |
setUser(String user)
Set
user parameter value |
getResurceID
clear, copyValuesTo, delegate, getCopy, getDataStoreName, getDescription, getDynClass, getDynValue, hasDynValue, implement, invokeDynMethod, invokeDynMethod, loadFromState, saveToState, setDynValue, toString, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clear, getCopy, validate
loadFromState, saveToState
delegate, getDynClass, getDynValue, hasDynValue, implement, invokeDynMethod, invokeDynMethod, setDynValue
public static final String PARAMETERS_DEFINITION_NAME
protected DelegatedDynObject getDelegatedDynObject()
AbstractDataParameters
DynObject
to delegate to.getDelegatedDynObject
in class AbstractDataParameters
DynObject
public String getTypeName()
ResourceParameters
getTypeName
in interface ResourceParameters
public String getHost()
DBParameters
host
parametergetHost
in interface DBParameters
public Integer getPort()
DBParameters
port
parametergetPort
in interface DBParameters
public String getDBName()
DBParameters
data base name
parametergetDBName
in interface DBParameters
public String getUser()
DBParameters
user
parametergetUser
in interface DBParameters
public String getPassword()
DBParameters
password
parametergetPassword
in interface DBParameters
public void setHost(String host)
host
parameter valuehost
- public void setPort(int port)
port
parameter valueport
- public void setPort(Integer port)
port
parameter valueport
- public void setDBName(String dbName)
data base name
parameter valuedata
- base namepublic void setUser(String user)
user
parameter valueuser
- public void setPassword(String password)
password
parameter valuepassword
-