Class EdgeModifierImpl<VID>

    • Constructor Detail

      • EdgeModifierImpl

        public EdgeModifierImpl​(GraphChangeSetImpl<VID> base,
                                java.lang.Object id,
                                boolean isIgnored)
    • Method Detail

      • isIgnored

        public boolean isIgnored()
        Description copied from interface: EdgeBuilder
        Whether this edge builder ignores method calls true or if it performs calls as usual false. Some issues, such as incompatible changes in a ChangeSet, can be configured to be ignored. In that case, additional method calls on the returned edge builder object will be ignored.
        Specified by:
        isIgnored in interface EdgeBuilder<VID>
        Returns:
        whether method calls are ignored
      • setProperty

        public EdgeModifier<VID> setProperty​(java.lang.String key,
                                             java.lang.Object value)
        Description copied from interface: EdgeBuilder
        Sets the property value of this edge with the given key to the given value. The first time this method is called, the type of value defines the type of the property.
        Specified by:
        setProperty in interface EdgeBuilder<VID>
        Specified by:
        setProperty in interface EdgeModifier<VID>
        Parameters:
        key - the property key
        value - the value of the vertex property
        Returns:
        this vertex builder
      • getId

        public long getId()
        Description copied from interface: EdgeBuilder
        Gets the id of the element (vertex or edge) this builder belongs to
        Specified by:
        getId in interface EdgeBuilder<VID>
        Returns:
        the id of the element