|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.jdbcimporter.ant.ConnectionDefElement
The ConnectionDefElement provides an Ant wrapper for setting a ConnectionDef object from Ant.
Field Summary | |
protected ConnectionDef |
connectionDef
The wrapped connection definition. |
protected static java.lang.String |
DEFAULT_IMPL
The default connection definition implementation. |
protected static java.lang.String |
DEFAULT_TYPE
The default connection definition type. |
protected java.util.Map |
plugins
The mapping between connection definition types and implementations. |
static java.lang.String |
PREFIX
The prefix used in the properties to identify that this property is a connection definition mapping. |
protected java.lang.String |
type
The connection definition type. |
Constructor Summary | |
ConnectionDefElement(java.util.Map plugins)
Constructs an empty ConnectionDefElement with the given mapping between connection definition types and implementations. |
Method Summary | |
void |
addConfiguredProperty(PropertyElement element)
Add a property to the connection definition. |
ConnectionDef |
getConnectionDef()
Returns the wrapped connection definition. |
void |
setType(java.lang.String type)
Sets the connection definition type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static java.lang.String DEFAULT_TYPE
protected static java.lang.String DEFAULT_IMPL
public static java.lang.String PREFIX
protected java.util.Map plugins
protected ConnectionDef connectionDef
protected java.lang.String type
Constructor Detail |
public ConnectionDefElement(java.util.Map plugins)
plugins
- the plugin mappingsMethod Detail |
public void setType(java.lang.String type)
type
- the connection definition typepublic void addConfiguredProperty(PropertyElement element)
element
- the property elementpublic ConnectionDef getConnectionDef()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |