|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.teiid.query.mapping.xml.MappingNode
org.teiid.query.mapping.xml.MappingBaseNode
org.teiid.query.mapping.xml.MappingElement
org.teiid.query.mapping.xml.MappingRecursiveElement
public class MappingRecursiveElement
A element which specifies a recursive element inside and xml schema. A recursive element is that embeds the self node type of elements upto given depth limit.
Constructor Summary | |
---|---|
MappingRecursiveElement(java.lang.String name,
Namespace namespace,
java.lang.String mappingClass)
|
|
MappingRecursiveElement(java.lang.String name,
java.lang.String mappingClass)
|
Method Summary | |
---|---|
void |
acceptVisitor(MappingVisitor visitor)
|
java.lang.String |
getCriteria()
Get the re-currsion criteria; not to be consufused with criteria on the MappingCriteria element |
Criteria |
getCriteriaNode()
|
java.util.List |
getGroupsInCriteria()
|
java.lang.String |
getMappingClass()
|
int |
getRecursionLimit()
|
boolean |
isRecursive()
Is recursice |
MappingRecursiveElement |
setCriteria(java.lang.String criteria)
Sets the criteria on which the recurrsion must occur |
void |
setCriteriaNode(Criteria node)
This is parsed and resolved criteria node based on the criteria string. |
void |
setGroupsInCriteria(java.util.List criteriaGroups)
Groups that are referenced inthe criteria string. |
MappingRecursiveElement |
setRecursionLimit(int depth,
boolean execeptionOnBreach)
Sets limit on how deep the recurrsion is allowed to occur in result document. |
boolean |
throwExceptionOnRecurrsionLimit()
|
Methods inherited from class org.teiid.query.mapping.xml.MappingElement |
---|
addAttribute, addCommentNode, addNamespace, addSibilingElement, getAttributes, getDefaultValue, getElementSymbol, getName, getNameInSource, getNamespace, getNamespacePrefix, getNamespaces, getNamespacesAsProperties, getNormalizeText, getSourceNode, getType, getValue, hasAttributes, isAlwaysInclude, isNillable, isOptional, isTagRoot, removeAttribute, setAlwaysInclude, setDefaultValue, setElementSymbol, setNameInSource, setNamespaces, setNillable, setNormalizeText, setOptional, setType, setValue |
Methods inherited from class org.teiid.query.mapping.xml.MappingBaseNode |
---|
addAllNode, addChildElement, addChoiceNode, addCriteriaNode, addSequenceNode, addSourceNode, addStagingTable, getCanonicalName, getDocument, getMaxOccurence, getMinOccurence, getParentNode, getRecursionId, getSource, getStagingTables, isDocumentNode, isRootRecursiveNode, removeChildNode, setMaxOccurrs, setMinOccurrs, setSource, setStagingTables |
Methods inherited from class org.teiid.query.mapping.xml.MappingNode |
---|
addChild, equals, findNode, getChildren, getChildren, getFullyQualifiedName, getNodeChildren, getNodeProperties, getParent, getPathName, getProperty, hashCode, isExcluded, printMappingNodeTree, setExclude, toString, toStringNodeTree |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MappingRecursiveElement(java.lang.String name, java.lang.String mappingClass)
public MappingRecursiveElement(java.lang.String name, Namespace namespace, java.lang.String mappingClass)
Method Detail |
---|
public void acceptVisitor(MappingVisitor visitor)
acceptVisitor
in class MappingElement
public boolean isRecursive()
isRecursive
in class MappingElement
MappingElement.isRecursive()
public MappingRecursiveElement setCriteria(java.lang.String criteria)
public MappingRecursiveElement setRecursionLimit(int depth, boolean execeptionOnBreach)
public java.lang.String getMappingClass()
public java.lang.String getCriteria()
public int getRecursionLimit()
public boolean throwExceptionOnRecurrsionLimit()
public void setGroupsInCriteria(java.util.List criteriaGroups)
criteriaGroups
- public java.util.List getGroupsInCriteria()
public void setCriteriaNode(Criteria node)
node
- public Criteria getCriteriaNode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |