Package org.drools.base.rule
Class XpathBackReference.RelativePattern
- java.lang.Object
-
- org.drools.base.rule.Pattern
-
- org.drools.base.rule.XpathBackReference.RelativePattern
-
- All Implemented Interfaces:
java.io.Externalizable,java.io.Serializable,java.lang.Cloneable,AcceptsClassObjectType,RuleComponent,RuleConditionElement
- Enclosing class:
- XpathBackReference
public static class XpathBackReference.RelativePattern extends Pattern
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RelativePattern(Pattern pattern, int relativeOffset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetTupleIndex()The index of pattern in the tuple chain.-
Methods inherited from class org.drools.base.rule.Pattern
addBehavior, addBoundProperty, addConstraint, addConstraint, addConstraints, addDeclaration, addDeclaration, addWatchedProperties, addWatchedProperty, clone, equals, getAccessibleProperties, getAnnotations, getBackRefDeclarations, getBehaviors, getConstraints, getDeclaration, getDeclarations, getInnerDeclarations, getListenedProperties, getNegativeWatchMask, getNestedElements, getObjectIndex, getObjectType, getOuterDeclarations, getPatternId, getPositiveWatchMask, getRequiredDeclarations, getSource, getXpathBackReferenceClasses, getXpathConstraint, getXPathDeclaration, hashCode, hasNegativeConstraint, hasXPath, isBound, isCompatibleWithAccumulateReturnType, isCompatibleWithAccumulateReturnType, isCompatibleWithFromReturnType, isCompatibleWithFromReturnType, isPassive, isPatternScopeDelimiter, readExternal, resetDeclarations, resolveDeclaration, setBackRefDeclarations, setBehaviors, setClassObjectType, setHasNegativeConstraint, setNegativeWatchMask, setObjectIndex, setObjectType, setPassive, setPositiveWatchMask, setSource, setTupleIndex, toString, writeExternal
-
-
-
-
Constructor Detail
-
RelativePattern
public RelativePattern(Pattern pattern, int relativeOffset)
-
-
Method Detail
-
getTupleIndex
public int getTupleIndex()
Description copied from class:PatternThe index of pattern in the tuple chain.- Overrides:
getTupleIndexin classPattern- Returns:
- the tupleIndex
-
-