Class NFEBasicLinePointRuleHandlerParam
- java.lang.Object
-
- oracle.spatial.network.nfe.model.rule.handler.NFEBasicLinePointRuleHandlerParam
-
- All Implemented Interfaces:
NFELinePointRuleHandlerParam
public class NFEBasicLinePointRuleHandlerParam extends java.lang.Object implements NFELinePointRuleHandlerParam
The default implementation ofNFELinePointRuleHandlerParam
-
-
Constructor Summary
Constructors Constructor Description NFEBasicLinePointRuleHandlerParam(NFELineLineRuleHandlerParam llhParam, boolean leftHand, java.util.Collection<NFEFeatureElement> defaultCreatedPointFeatElems)
NFEBasicLinePointRuleHandlerParam(Intersection<NFEFeatureElement> intersection, NFELinePointRule lpRule, java.util.Collection<java.lang.Long> matchingLineIds, 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 intersection member representation of the given feature element.java.util.Collection<NFEFeatureElement>
getMatchingLineFeatureElements()
Gets all the line feature elements from the current intersection that matches the line operand of the current line-point rulejava.util.Collection<NFEFeatureElement>
getMatchingPointFeatureElements()
Gets all the point feature elements from the current intersection that matches the point operand of the current line-point ruleNFELinePointRule
getRule()
The line-point rule that has been triggered
-
-
-
Constructor Detail
-
NFEBasicLinePointRuleHandlerParam
public NFEBasicLinePointRuleHandlerParam(Intersection<NFEFeatureElement> intersection, NFELinePointRule lpRule, java.util.Collection<java.lang.Long> matchingLineIds, java.util.Collection<java.lang.Long> matchingPointIds)
-
NFEBasicLinePointRuleHandlerParam
public NFEBasicLinePointRuleHandlerParam(NFELineLineRuleHandlerParam llhParam, boolean leftHand, java.util.Collection<NFEFeatureElement> defaultCreatedPointFeatElems)
-
-
Method Detail
-
getRule
public NFELinePointRule getRule()
Description copied from interface:NFELinePointRuleHandlerParam
The line-point rule that has been triggered- Specified by:
getRule
in interfaceNFELinePointRuleHandlerParam
- Returns:
- a line-point rule
-
getIntersection
public Intersection<NFEFeatureElement> getIntersection()
Description copied from interface:NFELinePointRuleHandlerParam
Gets the intersection that is currently being processed. It contains all the intersecting feature elements.- Specified by:
getIntersection
in interfaceNFELinePointRuleHandlerParam
- Returns:
- an intersection object
-
getIntersectionMember
public IntersectionMember<NFEFeatureElement> getIntersectionMember(NFEFeatureElement featElem)
Description copied from interface:NFELinePointRuleHandlerParam
Gets the intersection member representation of the given feature element. The intersection member object describes how the feature element is intersected in the current intersection.- Specified by:
getIntersectionMember
in interfaceNFELinePointRuleHandlerParam
- 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
-
getMatchingLineFeatureElements
public java.util.Collection<NFEFeatureElement> getMatchingLineFeatureElements()
Description copied from interface:NFELinePointRuleHandlerParam
Gets all the line feature elements from the current intersection that matches the line operand of the current line-point rule- Specified by:
getMatchingLineFeatureElements
in interfaceNFELinePointRuleHandlerParam
- Returns:
- a collection of line feature elements
-
getMatchingPointFeatureElements
public java.util.Collection<NFEFeatureElement> getMatchingPointFeatureElements()
Description copied from interface:NFELinePointRuleHandlerParam
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 interfaceNFELinePointRuleHandlerParam
- Returns:
- a collection of point feature elements
-
-