|
SMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dom4j.tree.AbstractNode
org.dom4j.tree.AbstractBranch
org.dom4j.tree.AbstractElement
org.dom4j.tree.DefaultElement
smacs.tree.ScriptNode
smacs.load.schema.DbSchemaScriptNode
smacs.load.schema.DbSchemaTableListNode
DbSchema TableList operations.
There may be different containers that hold references to table definitions and search strategies to resolve table names into table definition instances.
| Field Summary | |
protected static Logger |
log
|
| Fields inherited from class smacs.tree.ScriptNode |
_NodeHandler, TokenValue |
| Fields inherited from class org.dom4j.tree.AbstractElement |
EMPTY_ITERATOR, EMPTY_LIST, USE_STRINGVALUE_SEPARATOR, VERBOSE_TOSTRING |
| Fields inherited from class org.dom4j.tree.AbstractBranch |
DEFAULT_CONTENT_LIST_SIZE, outputFormat |
| Fields inherited from class org.dom4j.tree.AbstractNode |
NODE_TYPE_NAMES |
| Fields inherited from interface smacs.tree.SimpleNode |
TokenValue |
| Fields inherited from interface org.dom4j.Node |
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE |
| Constructor Summary | |
DbSchemaTableListNode()
|
|
| Method Summary | |
void |
addTable(DbSchemaTable table,
String schema)
add new instance of type DbSchemaTable.
|
DbSchemaTable |
getTable(DbSchemaTableQName name)
find the DbSchemaTable instance for the given qualified name.
|
DbSchemaTable |
getTable(String name)
find the DbSchemaTable instance for the given name.
|
List |
getTableList()
give us a list of references to DbSchemaTables. |
| Methods inherited from class smacs.load.schema.DbSchemaScriptNode |
_expandForeignKeyColumns, _expandForeignKeyReferences, expandForeignKeyColumns, expandForeignKeyReferences, newNode, newNode, newNode |
| Methods inherited from class org.dom4j.tree.AbstractBranch |
addElement, addElement, addElement, appendContent, content, contentRemoved, createContentList, createContentList, createEmptyList, createResultList, createSingleResultList, elementByID, elementID, getContentAsStringValue, getContentAsText, getTextTrim, hasContent, invalidNodeTypeAddException, isReadOnly, setProcessingInstructions |
| Methods inherited from class org.dom4j.tree.AbstractNode |
asXPathResult, createPattern, createXPath, createXPathFilter, createXPathResult, detach, getNodeTypeName, getPath, getUniquePath, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, valueOf |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.dom4j.Branch |
add, add, add, add, addElement, addElement, addElement, appendContent, clearContent, content, elementByID, indexOf, node, nodeCount, nodeIterator, normalize, processingInstruction, processingInstructions, processingInstructions, remove, remove, remove, remove, removeProcessingInstruction, setContent, setProcessingInstructions |
| Methods inherited from interface org.dom4j.Node |
accept, asXML, asXPathResult, clone, createXPath, detach, getDocument, getName, getNodeType, getNodeTypeName, getParent, getPath, getPath, getUniquePath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setName, setParent, setText, supportsParent, valueOf, write |
| Methods inherited from interface smacs.util.listen.GetName |
getName |
| Field Detail |
protected static final Logger log
| Constructor Detail |
public DbSchemaTableListNode()
| Method Detail |
public DbSchemaTable getTable(String name)
DbSchemaTableListDbSchemaTable instance for the given name.
This method call is supposed to use the best lookup strategy available
for the instance, so the result might differ from an appliction that goes
to serach through the list returned by DbSchemaTableList.getTableList()
getTable in interface DbSchemaTableListpublic DbSchemaTable getTable(DbSchemaTableQName name)
DbSchemaTableListDbSchemaTable instance for the given qualified name.
This method call is supposed to use the best lookup strategy available
for the instance, so the result might differ from an appliction that goes
to serach through the list returned by DbSchemaTableList.getTableList()
getTable in interface DbSchemaTableList
public void addTable(DbSchemaTable table,
String schema)
DbSchemaTableStoreDbSchemaTable.
it should be retrievable by subsequent calls to DbSchemaTableList.getTable(java.lang.String).
The schema name is optional since many tables are fully qualified.
addTable in interface DbSchemaTableStorepublic List getTableList()
DbSchemaTables. For a single
DbSchema this contains a unique set of table names while in
a DbSchemaList there may be multipe instances under the same
table name. Only a qualified name would help.
getTableList in interface DbSchemaTableList
|
SMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||