public class SetupParameters
extends java.lang.Object
The Data Transfer Object pattern is used here.
Constructor and Description |
---|
SetupParameters(java.lang.String url,
java.lang.String containerName,
java.lang.String cacheContainerName)
Construct an instance with the given parameters.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCacheContainerName()
Return the cache container name.
|
java.lang.String |
getContainerName()
Return the container name.
|
java.lang.String |
getUrl()
Return the URL/path of the location where
the XML database file is present.
|
void |
setCacheContainerName(java.lang.String cacheContainerName)
Set the cache container name parameter to the given name.
|
void |
setContainerName(java.lang.String containerName)
Set the container name parameter to the given value.
|
void |
setUrl(java.lang.String url)
Set the URL parameter to the given value.
|
public SetupParameters(java.lang.String url, java.lang.String containerName, java.lang.String cacheContainerName)
url
- Url/Path for the location where the database
file is present.containerName
- Name of the container
for the XML Database.cacheContainerName
- Name of the cache container
for the XML Database.public java.lang.String getCacheContainerName()
setCacheContainerName(java.lang.String)
public java.lang.String getContainerName()
setContainerName(java.lang.String)
public java.lang.String getUrl()
setUrl(java.lang.String)
public void setCacheContainerName(java.lang.String cacheContainerName)
cacheContainerName
- The cache container name.getCacheContainerName()
public void setContainerName(java.lang.String containerName)
containerName
- Name of the container
for the given XML database.getContainerName()
public void setUrl(java.lang.String url)
url
- Location where the database file is present.getUrl()