|
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.mapping.DbMappingScriptNode
smacs.load.mapping.DbMappingForeignKeyFieldsNode
implementation of a foreign constraint of a mapping. It has to have a property of a list of fields which is included in the constraint - both for the local fields and the remote fields.
Additionally over the interface DbMappingForeignKeyFields
there are a number of add* methods used for storing the respective
fields to the list property.
| Field Summary |
| Fields inherited from class smacs.tree.ScriptNode |
_NodeHandler, log, 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 | |
DbMappingForeignKeyFieldsNode()
constructor. |
|
DbMappingForeignKeyFieldsNode(SqlForeignKeyFieldDeclarationQ declared)
constructor. calls addFieldList(SqlFieldListQ) |
|
| Method Summary | |
void |
addFieldList(SqlFieldListQ list)
add field definition from sql syntax part. calls addFieldName(SqlFieldNameQ) |
void |
addFieldName(SqlFieldNameQ field)
add field definition from sql syntax part. finally calls addFieldName(String) |
DbMappingSimpleNode |
addFieldName(String name)
add field definition with given explicit name. |
DbMappingColumnFieldName |
getColumnFieldName(int i)
list of local field names related to the constraint. |
DbMappingColumnFieldName |
getForeignFieldName(int i)
get remote field by index. |
DbMappingColumnFieldName |
getLocalFieldName(int i)
get constraint field by index. |
| 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 |
| Constructor Detail |
public DbMappingForeignKeyFieldsNode()
public DbMappingForeignKeyFieldsNode(SqlForeignKeyFieldDeclarationQ declared)
addFieldList(SqlFieldListQ)
| Method Detail |
public void addFieldList(SqlFieldListQ list)
addFieldName(SqlFieldNameQ)
public void addFieldName(SqlFieldNameQ field)
addFieldName(String)
public DbMappingSimpleNode addFieldName(String name)
public DbMappingColumnFieldName getColumnFieldName(int i)
getColumnFieldName in interface DbMappingConstraintFieldspublic DbMappingColumnFieldName getLocalFieldName(int i)
getLocalFieldName in interface DbMappingForeignKeyFieldspublic DbMappingColumnFieldName getForeignFieldName(int i)
getForeignFieldName in interface DbMappingForeignKeyFields
|
SMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||