|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cayenne.project.DataNodeConfigInfo
ProjectConfigurator
approach turned out to be not
usable, and is in fact rarely used (if ever). It will be removed in
subsequent releases.
public class DataNodeConfigInfo
Stores information necessary to reconfigure nodes of existing projects.
Field Summary | |
---|---|
protected String |
adapter
Deprecated. |
protected String |
dataSource
Deprecated. |
protected String |
domain
Deprecated. |
protected File |
driverFile
Deprecated. |
protected String |
name
Deprecated. |
Constructor Summary | |
---|---|
DataNodeConfigInfo()
Deprecated. |
Method Summary | |
---|---|
DataNode |
findDataNode(Configuration config)
Deprecated. Searches for the DataNode described by this DataNodeConfigInfo in the provided configuration object. |
String |
getAdapter()
Deprecated. Returns the adapter. |
String |
getDataSource()
Deprecated. Returns the dataSource. |
String |
getDomain()
Deprecated. Returns the domain. |
File |
getDriverFile()
Deprecated. Returns the driverFile. |
String |
getName()
Deprecated. Returns the name. |
void |
setAdapter(String adapter)
Deprecated. Sets the adapter. |
void |
setDataSource(String dataSource)
Deprecated. Sets the dataSource. |
void |
setDomain(String domain)
Deprecated. Sets the domain. |
void |
setDriverFile(File driverFile)
Deprecated. Sets the driverFile. |
void |
setName(String name)
Deprecated. 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
ProjectException
public 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 |