public class MappingConnection extends java.lang.Object implements IMappingConnection
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
_rcsid |
protected java.lang.String |
className |
protected ConfigParams |
configParams |
protected java.lang.String |
description |
protected boolean |
isNew |
protected int |
maxCount |
protected java.lang.String |
name |
protected java.lang.String |
prerequisiteMapping |
Constructor and Description |
---|
MappingConnection()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
MappingConnection |
duplicate()
Clone this object.
|
java.lang.String |
getClassName()
Get the class name.
|
ConfigParams |
getConfigParams()
Get the configuration parameters.
|
java.lang.String |
getDescription()
Get description.
|
boolean |
getIsNew()
Get 'isnew' condition.
|
int |
getMaxConnections()
Get the maximum size of the connection pool.
|
java.lang.String |
getName()
Get name.
|
java.lang.String |
getPrerequisiteMapping()
Get the prerequisite mapper, if any.
|
void |
setClassName(java.lang.String className)
Set the class name.
|
void |
setDescription(java.lang.String description)
Set description.
|
void |
setIsNew(boolean isnew)
Set 'isnew' condition.
|
void |
setMaxConnections(int maxCount)
Set the maximum size of the connection pool.
|
void |
setName(java.lang.String name)
Set name.
|
void |
setPrerequisiteMapping(java.lang.String mapping)
Set the prerequisite mapper, if any.
|
public static final java.lang.String _rcsid
protected boolean isNew
protected java.lang.String name
protected java.lang.String description
protected java.lang.String className
protected ConfigParams configParams
protected int maxCount
protected java.lang.String prerequisiteMapping
public MappingConnection duplicate()
public void setIsNew(boolean isnew)
setIsNew
in interface IMappingConnection
isnew
- true if this is a new instance.public boolean getIsNew()
getIsNew
in interface IMappingConnection
public void setName(java.lang.String name)
setName
in interface IMappingConnection
name
- is the name.public java.lang.String getName()
getName
in interface IMappingConnection
public void setDescription(java.lang.String description)
setDescription
in interface IMappingConnection
description
- is the description.public java.lang.String getDescription()
getDescription
in interface IMappingConnection
public void setClassName(java.lang.String className)
setClassName
in interface IMappingConnection
className
- is the class name.public java.lang.String getClassName()
getClassName
in interface IMappingConnection
public ConfigParams getConfigParams()
getConfigParams
in interface IMappingConnection
public void setMaxConnections(int maxCount)
setMaxConnections
in interface IMappingConnection
maxCount
- is the maximum connection count per JVM.public int getMaxConnections()
getMaxConnections
in interface IMappingConnection
public void setPrerequisiteMapping(java.lang.String mapping)
setPrerequisiteMapping
in interface IMappingConnection
mapping
- is the name of the mapping connection to use to get the input user name,
or null.public java.lang.String getPrerequisiteMapping()
getPrerequisiteMapping
in interface IMappingConnection