public class NFELineLineRule extends NFEConnectivityRule
NFEConnectivityRule.ConnectivityRuleTypeANY_FEATURE_CLASS_ID, ANY_FEATURE_LAYER_ID, DEFAULT_LL_HANDLER_ID, DEFAULT_LP_HANDLER_ID| Constructor and Description |
|---|
NFELineLineRule(long id)
Allocates a new line-line rule
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDefaultPointInitValue(java.lang.String attrName, java.lang.Object value)
Adds an attribute value for initializing a point when it is automatically created by the rule
|
NFELineLineRule |
createCopy()
Returns a copy of the rule.
|
java.util.Map<java.lang.String,java.lang.Object> |
getDefaultPointInitValues()
Gets a map containing all the point feature attributes and its initialization values
|
BinaryInteraction |
getInteraction()
Gets the binary interaction which triggers this rule
|
NFELinePointRule |
getLeftHandSideLinePointRule()
Gets the line-point rule that corresponds to the left hand side operand of the line-line rule
|
long |
getPointFeatureClassId()
Gets the feature class id of the point connecting both lines of the rule.
|
long |
getPointFeatureLayerId()
Gets the feature layer id of the point connecting both lines of the rule.
|
NFELinePointRule |
getRightHandSideLinePointRule()
Gets the line-point rule that corresponds to the right hand side operand of the line-line rule
|
NFEConnectivityRule.ConnectivityRuleType |
getType()
Gets the actual connectivity rule type
|
boolean |
isCreatePoint()
Tells whether the rule creates a point automatically if it does not exist
|
boolean |
removeDefaultPointInitValue(java.lang.String attrName)
Removes an point feature's initialization attribute value
|
void |
setCreatePoint(boolean createPoint)
Sets whether the rule creates a point automatically if it does not exist
|
void |
setInteraction(BinaryInteraction interaction)
Sets the binary interaction which triggers this rule
|
void |
setLeftHandSideLinePointRule(NFELinePointRule llpr)
Sets the line-point rule that corresponds to the left hand side operand of the line-line rule
|
void |
setRightHandSideLinePointRule(NFELinePointRule rlpr)
Sets the line-point rule that corresponds to the right hand side operand of the line-line rule
|
getExecutionOrder, getHandler, getHandlerClass, getHandlerClassName, getHandlerId, getId, getKey, setExecutionOrder, setHandler, setHandlerClass, setHandlerClassName, setHandlerId, setIdpublic NFELineLineRule(long id)
id - the line-line rule idpublic NFEConnectivityRule.ConnectivityRuleType getType()
NFEConnectivityRulegetType in class NFEConnectivityRulepublic BinaryInteraction getInteraction()
public void setInteraction(BinaryInteraction interaction)
interaction - a binary interactionpublic boolean isCreatePoint()
public void setCreatePoint(boolean createPoint)
createPoint - true if the rule creates a pointpublic NFELinePointRule getLeftHandSideLinePointRule()
public void setLeftHandSideLinePointRule(NFELinePointRule llpr)
llpr - a line-point rulepublic NFELinePointRule getRightHandSideLinePointRule()
public void setRightHandSideLinePointRule(NFELinePointRule rlpr)
rlpr -public long getPointFeatureLayerId()
public long getPointFeatureClassId()
public void addDefaultPointInitValue(java.lang.String attrName,
java.lang.Object value)
attrName - a point feature attribute namevalue - the point feature attribute valuepublic boolean removeDefaultPointInitValue(java.lang.String attrName)
attrName - a point feature attribute namepublic java.util.Map<java.lang.String,java.lang.Object> getDefaultPointInitValues()
public NFELineLineRule createCopy()