SMACS

smacs.load.mapping
Interface DbMappingSimpleNode

All Superinterfaces:
Branch, Cloneable, CreateListener, Element, EventListener, FixNode, FixNodeListener, GetName, GetSimpleNode, HasNodeHandler, HasNodeReferenceAttribute, smacs.tree.HasNodeReferenceId, IsaNodeReferenceChildListener, IsaNodeReferenceListener, NewSimpleNode, Node, Node, SimpleNode, SimpleNodeChild, SmacsFixNode
All Known Implementing Classes:
DbMappingScriptNode

public interface DbMappingSimpleNode
extends SimpleNode

methods for mapping nodes. There are a few resolution steps to be taken - most refer to resolving names in the input syntax with the set of known tables and other items in the database schema.


Field Summary
 
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
 
Method Summary
 int _expandDistinctHints()
           
 int _expandForeignKeyFieldDeclarationQ()
           
 int _expandSchemaForeignKeyFieldDeclaration(DbSchemaTableList resolver)
           
 int _expandSchemaUniqueKeyFieldDeclaration(DbSchemaTableList resolver)
           
 int _expandSourceRecordColumns(DbSchemaTableList resolver)
           
 int _expandSourceRecordReferences(DbSchemaTableList resolver)
           
 int _expandSourceTableColumns(DbSchemaTableList resolver)
           
 int _expandSourceTableReferences(DbSchemaTableList resolver)
           
 int _expandUniqueKeyFieldDeclarationQ()
           
 int expandDistinctHints()
           
 int expandForeignKeyFieldDeclarationQ()
           
 int expandSchemaForeignKeyFieldDeclaration(DbSchemaTableList resolver)
           
 int expandSchemaUniqueKeyFieldDeclaration(DbSchemaTableList resolver)
           
 int expandSourceRecordColumns(DbSchemaTableList resolver)
           
 int expandSourceRecordReferences(DbSchemaTableList resolver)
           
 int expandSourceTableColumns(DbSchemaTableList resolver)
           
 int expandSourceTableReferences(DbSchemaTableList resolver)
           
 int expandUniqueKeyFieldDeclarationQ()
           
 
Methods inherited from interface smacs.tree.SimpleNode
add, add, addAll, addAll, addChild, addChild, addNewNode, addNodeReference, addNodeReference, addNodeReference, addNodeReference, appendAttributes, appendText, clear, cloneFrom, contains, containsAll, countTokenName, dump, fireNodeReferenceChildHasChanged, fireNodeReferenceHasChanged, firstTokenName, firstTokenName, fixNode, fixNodeTree, get, getAttributeValue, getHandler, getId, getMember, getMember, getMember, getMember, getMemberChild, getMemberChild, getMemberChild, getMemberList, getMemberListChild, getMemberOption, getMemberOption, getMemberOption, getMemberValue, getMemberValue, getMemberValue, getNodeReferenceCount, getNodeReferenceCount, getNodeReferenceId, getNodeReferenceId, getOption, getOption, getOption, getParentNode, getParentNode, getParentNode, getParentNode, getSimpleNode, getSingleTextChild, getThisParentNode, getThisParentNode, getTokenName, getTokenValue, hasChildren, hasMember, hasMember, hasNodeHandler, hasNodeReference, hasNodeReferenceChildNodes, hasNodeReferenceChildNodes, hasNodeReferenceId, hasNodeReferenceId, hasSingleTextChild, hasTokenName, hasTokenValue, indexOf, isEmpty, iterator, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, lastIndexOf, lastTokenName, lastTokenName, listIterator, listIterator, memberElement, newChildren, newNode, newNode, newNode, newNode, newNode, newNode, newNode, newNode, newNode, newNode, newNodeReferenceAttribute, onNodeReferenceChildHasChanged, onNodeReferenceHasChanged, printXML, printXML, removeAll, removeAttribute, removeChild, removeChild, removeNodeReference, replace, retainAll, set, setHandler, setMemberChild, setMemberChild, setMemberChild, setMemberList, setMemberListChild, setMemberOption, setMemberOption, setMemberOption, setMemberValue, setMemberValue, setMemberValue, setNodeReference, setNodeReference, setNodeReference, setOption, setOption, setOption, setOption, setTokenName, setTokenValue, size, strSingleTextChild, subList, toArray, toArray, toString, toString, toXML, toXML
 
Methods inherited from interface org.dom4j.Element
add, add, add, add, add, addAttribute, addAttribute, addCDATA, addComment, addEntity, additionalNamespaces, addNamespace, addProcessingInstruction, addProcessingInstruction, addText, attribute, attribute, attribute, attributeCount, attributeIterator, attributes, attributeValue, attributeValue, attributeValue, attributeValue, createCopy, createCopy, createCopy, declaredNamespaces, element, element, elementIterator, elementIterator, elementIterator, elements, elements, elements, elementText, elementText, elementTextTrim, elementTextTrim, getData, getNamespace, getNamespaceForPrefix, getNamespaceForURI, getNamespacePrefix, getNamespaceURI, getQName, getQName, getQualifiedName, getStringValue, getText, getTextTrim, getXPathResult, hasMixedContent, isRootElement, isTextOnly, remove, remove, remove, remove, remove, setAttributes, setAttributeValue, setAttributeValue, setData, setQName
 
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
 

Method Detail

_expandSourceTableReferences

public int _expandSourceTableReferences(DbSchemaTableList resolver)

_expandSourceTableColumns

public int _expandSourceTableColumns(DbSchemaTableList resolver)

_expandSourceRecordReferences

public int _expandSourceRecordReferences(DbSchemaTableList resolver)

_expandSourceRecordColumns

public int _expandSourceRecordColumns(DbSchemaTableList resolver)

_expandDistinctHints

public int _expandDistinctHints()

_expandUniqueKeyFieldDeclarationQ

public int _expandUniqueKeyFieldDeclarationQ()

_expandForeignKeyFieldDeclarationQ

public int _expandForeignKeyFieldDeclarationQ()

_expandSchemaUniqueKeyFieldDeclaration

public int _expandSchemaUniqueKeyFieldDeclaration(DbSchemaTableList resolver)

_expandSchemaForeignKeyFieldDeclaration

public int _expandSchemaForeignKeyFieldDeclaration(DbSchemaTableList resolver)

expandSourceTableReferences

public int expandSourceTableReferences(DbSchemaTableList resolver)

expandSourceTableColumns

public int expandSourceTableColumns(DbSchemaTableList resolver)

expandSourceRecordReferences

public int expandSourceRecordReferences(DbSchemaTableList resolver)

expandSourceRecordColumns

public int expandSourceRecordColumns(DbSchemaTableList resolver)

expandDistinctHints

public int expandDistinctHints()

expandUniqueKeyFieldDeclarationQ

public int expandUniqueKeyFieldDeclarationQ()

expandForeignKeyFieldDeclarationQ

public int expandForeignKeyFieldDeclarationQ()

expandSchemaUniqueKeyFieldDeclaration

public int expandSchemaUniqueKeyFieldDeclaration(DbSchemaTableList resolver)

expandSchemaForeignKeyFieldDeclaration

public int expandSchemaForeignKeyFieldDeclaration(DbSchemaTableList resolver)

SMACS