org.mmbase.util
Class XMLDatabaseReader
java.lang.Object
|
+--org.mmbase.util.XMLBasicReader
|
+--org.mmbase.util.XMLDatabaseReader
- public class XMLDatabaseReader
- extends XMLBasicReader
- Author:
- Case Roole, Rico Jansen, Pierre van Rooden
| Methods inherited from class org.mmbase.util.XMLBasicReader |
getChildElements, getChildElements, getChildElements, getChildElements, getDocumentBuilder, getElementAttributeValue, getElementAttributeValue, getElementByPath, getElementByPath, getElementName, getElementValue, getElementValue, getFileName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLDatabaseReader
public XMLDatabaseReader(java.lang.String path)
- Constructor
- Parameters:
path - the filename
getName
public java.lang.String getName()
- Returns the name of the database.
getMMBaseDatabaseDriver
public java.lang.String getMMBaseDatabaseDriver()
- Returns the mmbase database driver class for this database.
- Returns:
- the name of the class
getBlobDataDir
public java.lang.String getBlobDataDir()
- getBlobDataDir
getMaxDropSize
public int getMaxDropSize()
- Get the max drop size for this database.
The max drop size determines whether a table can be dropped as part of
a table alteration command.
- Returns:
- the max drop size in number of records
getDisallowedFields
public java.util.Hashtable getDisallowedFields()
- Retrieve a list of fieldnames that are disallowed for this database.
Eacht entry in the hashtable has as its key the disallowed name, and as
its value the name with which it needs to be replaced.
- Returns:
- the hashtable with the disallowed fields
getCreateScheme
public java.lang.String getCreateScheme()
getPrimaryKeyScheme
public java.lang.String getPrimaryKeyScheme()
getKeyScheme
public java.lang.String getKeyScheme()
getNotNullScheme
public java.lang.String getNotNullScheme()
getTypeMapping
public java.util.Hashtable getTypeMapping()
MMBase 2002