com.metamatrix.query.mapping.xml
Class MappingCriteriaNode
java.lang.Object
com.metamatrix.query.mapping.xml.MappingNode
com.metamatrix.query.mapping.xml.MappingBaseNode
com.metamatrix.query.mapping.xml.MappingCriteriaNode
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class MappingCriteriaNode
- extends MappingBaseNode
Represents a Criteria Node under a Choice Node, which defines the criteria
on the selection of child elements.
- See Also:
- Serialized Form
Methods inherited from class com.metamatrix.query.mapping.xml.MappingBaseNode |
addAllNode, addChildElement, addChoiceNode, addCriteriaNode, addSequenceNode, addSourceNode, addStagingTable, getCanonicalName, getDocument, getMaxOccurence, getMinOccurence, getName, getParentNode, getRecursionId, getSource, getStagingTables, isDocumentNode, isRootRecursiveNode, isTagRoot, removeChildNode, setMaxOccurrs, setMinOccurrs, setSource, setStagingTables |
Methods inherited from class com.metamatrix.query.mapping.xml.MappingNode |
addChild, equals, findNode, getChildren, getChildren, getFullyQualifiedName, getNameInSource, getNodeChildren, getNodeProperties, getParent, getPathName, getProperty, getSourceNode, hashCode, printMappingNodeTree, setExclude, toString, toStringNodeTree |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
MappingCriteriaNode
public MappingCriteriaNode(java.lang.String criteria,
boolean defalt)
MappingCriteriaNode
public MappingCriteriaNode()
acceptVisitor
public void acceptVisitor(MappingVisitor visitor)
- Specified by:
acceptVisitor
in class MappingNode
setCriteria
public MappingCriteriaNode setCriteria(java.lang.String criteria)
setAsDefault
public MappingCriteriaNode setAsDefault(boolean defalt)
isDefault
public boolean isDefault()
getCriteria
public java.lang.String getCriteria()
setCriteriaNode
public void setCriteriaNode(Criteria node)
- This is parsed and resolved criteria node based on the criteria string. This is set by
ValidateMappedCriteriaVisitor class during pre planning.
- Parameters:
node
-
getCriteriaNode
public Criteria getCriteriaNode()
setGroupsInCriteria
public void setGroupsInCriteria(java.util.List criteriaGroups)
- Groups that are referenced inthe criteria string. This is set by ValidateMappedCriteriaVisitor
class during the preplan.
- Parameters:
criteriaGroups
-
getGroupsInCriteria
public java.util.List getGroupsInCriteria()
- Deprecated. - may not be needed
- Returns:
isExcluded
public boolean isExcluded()
- Overrides:
isExcluded
in class MappingNode
- See Also:
MappingNode.isExcluded()
Copyright © 2009. All Rights Reserved.