public class NFELinePointRule extends NFEConnectivityRule
Modifier and Type | Class and Description |
---|---|
static class |
NFELinePointRule.LPRuleSource
Defines different sources where a line-point could be created
|
NFEConnectivityRule.ConnectivityRuleType
ANY_FEATURE_CLASS_ID, ANY_FEATURE_LAYER_ID, DEFAULT_LL_HANDLER_ID, DEFAULT_LP_HANDLER_ID
Constructor and Description |
---|
NFELinePointRule(long id)
Allocates a new line-point rule
|
Modifier and Type | Method and Description |
---|---|
NFELinePointRule |
createCopy()
Returns a copy of the rule.
|
java.lang.String |
getLineAttrCondition()
Gets the rule's line attribute condition.
|
long |
getLineFeatureClassId()
Gets the rule's line feature class id
|
long |
getLineFeatureLayerId()
Gets the rule's line feature layer id
|
int |
getMaxInConnections()
Gets the maximum number of incoming lines of the rule's line type allowed for the rule's point
|
int |
getMaxOutConnections()
Gets the maximum number of outgoing lines of the rule's line type allowed for the rule's point
|
java.lang.String |
getPointAttrCondition()
Gets the rule's point attribute condition.
|
long |
getPointFeatureClassId()
Gets the rule's point feature class id
|
long |
getPointFeatureLayerId()
Gets the rule's point feature layer id
|
NFELinePointRule.LPRuleSource |
getSource()
Gets a value indicating where the rule was created
|
NFEConnectivityRule.ConnectivityRuleType |
getType()
Gets the actual connectivity rule type
|
void |
setLineAttrCondition(java.lang.String lineAttrCond)
Sets the rule's line attribute condition.
|
void |
setLineFeatureClassId(long lineFeatClassId)
Sets the rule's line feature class id
|
void |
setLineFeatureLayerId(long lineFeatLayerId)
Sets the rule's line feature layer id
|
void |
setMaxInConnections(int maxInConn)
Sets the maximum number of incoming lines of the rule's line type allowed for the rule's point maxInConn the maximum number of in connections
|
void |
setMaxOutConnections(int maxOutConn)
Gets the maximum number of outgoing lines of the rule's line type allowed for the rule's point maxOutConn the maximum number of out connections
|
void |
setPointAttrCondition(java.lang.String pointAttrCond)
Sets the rule's point attribute condition.
|
void |
setPointFeatureClassId(long pointFeatClassId)
Sets the rule's point feature class id
|
void |
setPointFeatureLayerId(long pointFeatLayerId)
Sets the rule's point feature layer id
|
void |
setSource(NFELinePointRule.LPRuleSource source)
Sets a value indicating where the rule was created
|
getExecutionOrder, getHandler, getHandlerClass, getHandlerClassName, getHandlerId, getId, getKey, setExecutionOrder, setHandler, setHandlerClass, setHandlerClassName, setHandlerId, setId
public NFELinePointRule(long id)
id
- the rule idpublic NFEConnectivityRule.ConnectivityRuleType getType()
NFEConnectivityRule
getType
in class NFEConnectivityRule
public java.lang.String getLineAttrCondition()
public void setLineAttrCondition(java.lang.String lineAttrCond)
lineAttrCond
- the line attribute condition as a boolean expressionpublic java.lang.String getPointAttrCondition()
public void setPointAttrCondition(java.lang.String pointAttrCond)
pointAttrCond
- the point attribute condition as a boolean expressionpublic NFELinePointRule.LPRuleSource getSource()
public void setSource(NFELinePointRule.LPRuleSource source)
source
- a line-point source typepublic int getMaxInConnections()
NFECardinalityRule.CARDINALITY_UNBOUNDED
public void setMaxInConnections(int maxInConn)
public int getMaxOutConnections()
NFECardinalityRule.CARDINALITY_UNBOUNDED
public void setMaxOutConnections(int maxOutConn)
public long getLineFeatureLayerId()
NFEConnectivityRule.ANY_FEATURE_LAYER_ID
indicating the rule applies for all the line feature layerspublic void setLineFeatureLayerId(long lineFeatLayerId)
lineFeatLayerId
- a line feature layer id or NFEConnectivityRule.ANY_FEATURE_LAYER_ID
for any line feature layer idpublic long getPointFeatureLayerId()
NFEConnectivityRule.ANY_FEATURE_LAYER_ID
indicating the rule applies for all the point feature layerspublic void setPointFeatureLayerId(long pointFeatLayerId)
pointFeatLayerId
- a point feature layer id or NFEConnectivityRule.ANY_FEATURE_LAYER_ID
for any point feature layer idpublic long getLineFeatureClassId()
NFEConnectivityRule.ANY_FEATURE_CLASS_ID
indicating the rule applies for all the line feature classespublic void setLineFeatureClassId(long lineFeatClassId)
lineFeatClassId
- a line feature class id or NFEConnectivityRule.ANY_FEATURE_CLASS_ID
for any line feature class idpublic long getPointFeatureClassId()
NFEConnectivityRule.ANY_FEATURE_CLASS_ID
indicating the rule applies for all the point feature classespublic void setPointFeatureClassId(long pointFeatClassId)
pointFeatClassId
- a point feature class id or NFEConnectivityRule.ANY_FEATURE_CLASS_ID
for any point feature class idpublic NFELinePointRule createCopy()