Interface GISElement

    • Field Detail

      • NAME_COMPARATOR

        static final Comparator<GISElement> NAME_COMPARATOR
        A name-base comparator of attribute containers.

        The returned comparator use the function getName() to make the comparison.

    • Method Detail

      • copyAttributes

        int copyAttributes​(GISElement container)
        Copy all the attributes of the specified container.
        Parameters:
        container - is the object from which the attributes must be extracted.
        Returns:
        count of copied attributes
      • hashKey

        @Pure
        String hashKey()
        Replies a string suitable for hashtables.
        Returns:
        a string suitable for hashtables.
      • getName

        @Pure
        String getName()
        Replies the name of the element.
        Returns:
        the name
      • setName

        void setName​(String name)
        Set the name of the element.
        Parameters:
        name - the new name.