Class 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
    • 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
    • Constructor Detail

      • NFEConnectivityRule

        public NFEConnectivityRule​(long id)
    • 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