com.metamatrix.query.mapping.xml
Class MappingBaseNode
java.lang.Object
com.metamatrix.query.mapping.xml.MappingNode
com.metamatrix.query.mapping.xml.MappingBaseNode
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
- Direct Known Subclasses:
- MappingAllNode, MappingChoiceNode, MappingCriteriaNode, MappingDocument, MappingElement, MappingSequenceNode, MappingSourceNode
public abstract class MappingBaseNode
- extends MappingNode
This is base class to define all nodes except the attribute. However, this quite not
enough to define a Element node. Specially designed for sequence, choice and all node
types
- See Also:
- Serialized Form
Methods inherited from class com.metamatrix.query.mapping.xml.MappingNode |
acceptVisitor, addChild, equals, findNode, getChildren, getChildren, getFullyQualifiedName, getNameInSource, getNodeChildren, getNodeProperties, getParent, getPathName, getProperty, getSourceNode, hashCode, isExcluded, printMappingNodeTree, setExclude, toString, toStringNodeTree |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
MappingBaseNode
protected MappingBaseNode()
setMinOccurrs
public MappingBaseNode setMinOccurrs(int cardinality)
setMaxOccurrs
public MappingBaseNode setMaxOccurrs(int cardinality)
setSource
public MappingBaseNode setSource(java.lang.String source)
getSource
public java.lang.String getSource()
addChildElement
public MappingElement addChildElement(MappingElement elem)
addChoiceNode
public MappingChoiceNode addChoiceNode(MappingChoiceNode elem)
addSequenceNode
public MappingSequenceNode addSequenceNode(MappingSequenceNode elem)
addAllNode
public MappingAllNode addAllNode(MappingAllNode elem)
addSourceNode
public MappingSourceNode addSourceNode(MappingSourceNode elem)
addCriteriaNode
public MappingCriteriaNode addCriteriaNode(MappingCriteriaNode node)
getParentNode
public MappingBaseNode getParentNode()
getName
public java.lang.String getName()
- Overrides:
getName
in class MappingNode
getCanonicalName
public java.lang.String getCanonicalName()
removeChildNode
public void removeChildNode(MappingBaseNode toRemove)
getMinOccurence
public int getMinOccurence()
getMaxOccurence
public int getMaxOccurence()
getRecursionId
public java.lang.String getRecursionId()
isRootRecursiveNode
public boolean isRootRecursiveNode()
getDocument
public MappingDocument getDocument()
- Get the document node of this node.
- Returns:
isDocumentNode
public boolean isDocumentNode()
isTagRoot
public boolean isTagRoot()
- A tag root node is the first visual node (Element to be specific) in the document tree
which is the root element in the output xml document.
- Returns:
- true if
getStagingTables
public java.util.List getStagingTables()
setStagingTables
public void setStagingTables(java.util.List tables)
addStagingTable
public void addStagingTable(java.lang.String tablename)
Copyright © 2009. All Rights Reserved.