|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cayenne.project.DataNodeConfigInfo
public class DataNodeConfigInfo
Stores information necessary to reconfigure nodes of existing projects.
| Field Summary | |
|---|---|
protected String |
adapter
|
protected String |
dataSource
|
protected String |
domain
|
protected File |
driverFile
|
protected String |
name
|
| Constructor Summary | |
|---|---|
DataNodeConfigInfo()
|
|
| Method Summary | |
|---|---|
DataNode |
findDataNode(Configuration config)
Searches for the DataNode described by this DataNodeConfigInfo in the provided configuration object. |
String |
getAdapter()
Returns the adapter. |
String |
getDataSource()
Returns the dataSource. |
String |
getDomain()
Returns the domain. |
File |
getDriverFile()
Returns the driverFile. |
String |
getName()
Returns the name. |
void |
setAdapter(String adapter)
Sets the adapter. |
void |
setDataSource(String dataSource)
Sets the dataSource. |
void |
setDomain(String domain)
Sets the domain. |
void |
setDriverFile(File driverFile)
Sets the driverFile. |
void |
setName(String name)
Sets the name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String name
protected String domain
protected String adapter
protected String dataSource
protected File driverFile
| Constructor Detail |
|---|
public DataNodeConfigInfo()
| Method Detail |
|---|
public DataNode findDataNode(Configuration config)
throws ProjectException
ProjectExceptionpublic String getAdapter()
public String getDataSource()
public String getDomain()
public File getDriverFile()
public String getName()
public void setAdapter(String adapter)
adapter - The adapter to setpublic void setDataSource(String dataSource)
dataSource - The dataSource to setpublic void setDomain(String domain)
domain - The domain to setpublic void setDriverFile(File driverFile)
driverFile - The driverFile to setpublic void setName(String name)
name - The name to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||