Class NFEBasicFeatureElement

    • Constructor Detail

      • NFEBasicFeatureElement

        public NFEBasicFeatureElement()
    • Method Detail

      • getKey

        public java.lang.String getKey()
        Description copied from class: NFEFeatureElement
        Gets the feature element's key which is used to uniquely identify a feature element in an NFEModel
        Specified by:
        getKey in class NFEFeatureElement
        Returns:
        a feature element's key
      • setStartPercentage

        public void setStartPercentage​(double startPercentage)
        Description copied from class: NFEFeatureElement
        Sets the feature element's position relative to its link's length. For line feature elements this value sets the start of the line. This property is not used when a feature element is set over a node
        Specified by:
        setStartPercentage in class NFEFeatureElement
        Parameters:
        startPercentage - a value between 0 and 1
      • getStartPercentage

        public double getStartPercentage()
        Description copied from class: NFEFeatureElement
        Gets the position of the feature element's relative to its link's length. This property is not used when a feature element is set over a node
        Specified by:
        getStartPercentage in class NFEFeatureElement
        Returns:
        a value between 0 and 1
      • setEndPercentage

        public void setEndPercentage​(double endPercentage)
        Description copied from class: NFEFeatureElement
        Sets the line feature element's end point relative to its link's length. This property is not used for point feature elements.
        Specified by:
        setEndPercentage in class NFEFeatureElement
        Parameters:
        endPercentage - a value between 0 and 1
      • getEndPercentage

        public double getEndPercentage()
        Description copied from class: NFEFeatureElement
        Gets the line feature element's end point relative to its link's length. This property is not used for point feature elements.
        Specified by:
        getEndPercentage in class NFEFeatureElement
        Returns:
        a value between 0 and 1
      • setSequence

        public void setSequence​(long sequence)
        Description copied from class: NFEFeatureElement
        Sets the feature element's sequence number
        Specified by:
        setSequence in class NFEFeatureElement
        Parameters:
        sequence - the feature element's sequence
      • getSequence

        public long getSequence()
        Description copied from class: NFEFeatureElement
        Gets the feature element's sequence number
        Specified by:
        getSequence in class NFEFeatureElement
        Returns:
        the feature element's sequence