Class NFEBasicLineLineRuleHandlerParam
- java.lang.Object
-
- oracle.spatial.network.nfe.model.rule.handler.NFEBasicLineLineRuleHandlerParam
-
- All Implemented Interfaces:
NFELineLineRuleHandlerParam
public class NFEBasicLineLineRuleHandlerParam extends java.lang.Object implements NFELineLineRuleHandlerParam
The default implementation ofNFELineLineRuleHandlerParam
-
-
Constructor Summary
Constructors Constructor Description NFEBasicLineLineRuleHandlerParam(Intersection<NFEFeatureElement> intersection, NFELineLineRule llRule, java.util.Collection<java.lang.Long> matchingLHLineIds, java.util.Collection<java.lang.Long> matchingRHLineIds, java.util.Collection<java.lang.Long> matchingPointIds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Intersection<NFEFeatureElement>
getIntersection()
Gets the intersection that is currently being processed.IntersectionMember<NFEFeatureElement>
getIntersectionMember(NFEFeatureElement featElem)
Gets the feature element as an intersection member of the current intersection.java.util.Collection<NFEFeatureElement>
getMatchingPointFeatureElements()
Gets all the point feature elements from the current intersection that matches the point operand of the current line-point ruleNFELineLineRule
getRule()
The line-point rule that has been triggeredjava.util.Collection<NFEFeatureElement>
getRuleLeftHandMatchingLineFeatureElements()
Gets all the line feature elements from the current intersection that matches the left hand side line operand of the current line-line rulejava.util.Collection<NFEFeatureElement>
getRuleRightHandMatchingLineFeatureElements()
Gets all the line feature elements from the current intersection that matches the right hand side line operand of the current line-line rule
-
-
-
Constructor Detail
-
NFEBasicLineLineRuleHandlerParam
public NFEBasicLineLineRuleHandlerParam(Intersection<NFEFeatureElement> intersection, NFELineLineRule llRule, java.util.Collection<java.lang.Long> matchingLHLineIds, java.util.Collection<java.lang.Long> matchingRHLineIds, java.util.Collection<java.lang.Long> matchingPointIds)
-
-
Method Detail
-
getRule
public NFELineLineRule getRule()
Description copied from interface:NFELineLineRuleHandlerParam
The line-point rule that has been triggered- Specified by:
getRule
in interfaceNFELineLineRuleHandlerParam
- Returns:
- a line-point rule
-
getIntersection
public Intersection<NFEFeatureElement> getIntersection()
Description copied from interface:NFELineLineRuleHandlerParam
Gets the intersection that is currently being processed. It contains all the intersecting feature elements.- Specified by:
getIntersection
in interfaceNFELineLineRuleHandlerParam
- Returns:
- an intersection object
-
getIntersectionMember
public IntersectionMember<NFEFeatureElement> getIntersectionMember(NFEFeatureElement featElem)
Description copied from interface:NFELineLineRuleHandlerParam
Gets the feature element as an intersection member of the current intersection. The intersection member object describes how the feature element is intersected in the current intersection group.- Specified by:
getIntersectionMember
in interfaceNFELineLineRuleHandlerParam
- Parameters:
featElem
- a feature element- Returns:
- the feature element as an intersection member or null if the feature element does not participates in the current intersection
-
getRuleLeftHandMatchingLineFeatureElements
public java.util.Collection<NFEFeatureElement> getRuleLeftHandMatchingLineFeatureElements()
Description copied from interface:NFELineLineRuleHandlerParam
Gets all the line feature elements from the current intersection that matches the left hand side line operand of the current line-line rule- Specified by:
getRuleLeftHandMatchingLineFeatureElements
in interfaceNFELineLineRuleHandlerParam
- Returns:
- a collection of line feature elements
-
getRuleRightHandMatchingLineFeatureElements
public java.util.Collection<NFEFeatureElement> getRuleRightHandMatchingLineFeatureElements()
Description copied from interface:NFELineLineRuleHandlerParam
Gets all the line feature elements from the current intersection that matches the right hand side line operand of the current line-line rule- Specified by:
getRuleRightHandMatchingLineFeatureElements
in interfaceNFELineLineRuleHandlerParam
- Returns:
- a collection of line feature elements
-
getMatchingPointFeatureElements
public java.util.Collection<NFEFeatureElement> getMatchingPointFeatureElements()
Description copied from interface:NFELineLineRuleHandlerParam
Gets all the point feature elements from the current intersection that matches the point operand of the current line-point rule- Specified by:
getMatchingPointFeatureElements
in interfaceNFELineLineRuleHandlerParam
- Returns:
- a collection of point feature elements.
-
-