Class NFEConnectivityRule
- java.lang.Object
-
- oracle.spatial.network.nfe.model.rule.NFEConnectivityRule
-
- Direct Known Subclasses:
NFELineLineRule
,NFELinePointRule
public abstract class NFEConnectivityRule extends java.lang.Object
Basic representation of a connectivity rule which defines the properties and methods common to all the NFE connectivity rules
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NFEConnectivityRule.ConnectivityRuleType
Defines connectivity rule types
-
Field Summary
Fields Modifier and Type Field Description static long
ANY_FEATURE_CLASS_ID
Any feature class idstatic long
ANY_FEATURE_LAYER_ID
Any feature layer idstatic long
DEFAULT_LL_HANDLER_ID
Default line line-rule handler idstatic long
DEFAULT_LP_HANDLER_ID
Default line-point rule handler id
-
Constructor Summary
Constructors Constructor Description NFEConnectivityRule(long id)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description int
getExecutionOrder()
Gets the rule execution orderNFERuleHandler
getHandler()
Gets the rule handler instance associated to the rulejava.lang.Class<? extends NFERuleHandler>
getHandlerClass()
Gets the class of rule handler associated to the rulejava.lang.String
getHandlerClassName()
Gets the name of the rule habdler's class associated to the rulelong
getHandlerId()
Gets the id of the rule handler associated to the rulelong
getId()
Gets the rule idjava.lang.String
getKey()
Gets the rule key which is used to uniquely identify the rule across other types of connectivity rulesabstract NFEConnectivityRule.ConnectivityRuleType
getType()
Gets the actual connectivity rule typevoid
setExecutionOrder(int executionOrder)
Sets the rule execution ordervoid
setHandler(NFERuleHandler handler)
Sets the rule handler instance associated to the rulevoid
setHandlerClass(java.lang.Class<? extends NFERuleHandler> handlerClass)
void
setHandlerClassName(java.lang.String handlerClassName)
Sets the name of the rule habdler's class associated to the rulevoid
setHandlerId(long handlerId)
Sets the id of the rule handler associated to the rulevoid
setId(long id)
Sets the rule id
-
-
-
Field Detail
-
ANY_FEATURE_LAYER_ID
public static final long ANY_FEATURE_LAYER_ID
Any feature layer id- See Also:
- Constant Field Values
-
ANY_FEATURE_CLASS_ID
public static final long ANY_FEATURE_CLASS_ID
Any feature class id- See Also:
- Constant Field Values
-
DEFAULT_LP_HANDLER_ID
public static final long DEFAULT_LP_HANDLER_ID
Default line-point rule handler id- See Also:
- Constant Field Values
-
DEFAULT_LL_HANDLER_ID
public static final long DEFAULT_LL_HANDLER_ID
Default line line-rule handler id- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public long getId()
Gets the rule id- Returns:
- the rule id
-
setId
public void setId(long id)
Sets the rule id- Parameters:
id
- the rule id
-
getExecutionOrder
public int getExecutionOrder()
Gets the rule execution order- Returns:
- the rule execution order
-
setExecutionOrder
public void setExecutionOrder(int executionOrder)
Sets the rule execution order- Parameters:
executionOrder
- the rule execution order
-
getHandlerClass
public java.lang.Class<? extends NFERuleHandler> getHandlerClass()
Gets the class of rule handler associated to the rule- Returns:
- the rule handler class
-
setHandlerClass
public void setHandlerClass(java.lang.Class<? extends NFERuleHandler> handlerClass)
-
getHandler
public NFERuleHandler getHandler()
Gets the rule handler instance associated to the rule- Returns:
- the rule handler instance
-
setHandler
public void setHandler(NFERuleHandler handler)
Sets the rule handler instance associated to the rule- Parameters:
handler
- the rule handler instance
-
getHandlerId
public long getHandlerId()
Gets the id of the rule handler associated to the rule- Returns:
- a rule handler id
-
setHandlerId
public void setHandlerId(long handlerId)
Sets the id of the rule handler associated to the rule- Parameters:
handlerId
- a rule handler id
-
getKey
public java.lang.String getKey()
Gets the rule key which is used to uniquely identify the rule across other types of connectivity rules- Returns:
- the rule key
-
getHandlerClassName
public java.lang.String getHandlerClassName()
Gets the name of the rule habdler's class associated to the rule- Returns:
- a rule handler's class name
-
setHandlerClassName
public void setHandlerClassName(java.lang.String handlerClassName)
Sets the name of the rule habdler's class associated to the rule- Parameters:
handlerClassName
- a rule handler's class name
-
getType
public abstract NFEConnectivityRule.ConnectivityRuleType getType()
Gets the actual connectivity rule type- Returns:
- a connectivity rule type
-
-