Class VertexModifierImpl<VID>

    • Method Detail

      • isIgnored

        public boolean isIgnored()
        Description copied from interface: VertexBuilder
        Whether this vertex 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 vertex builder object will be ignored.
        Specified by:
        isIgnored in interface VertexBuilder<VID>
        Returns:
        whether method calls are ignored
      • removeLabel

        public VertexModifier<VID> removeLabel​(java.lang.String label)
        Description copied from interface: VertexModifier
        Removes the given label from the vertex.
        Specified by:
        removeLabel in interface VertexModifier<VID>
        Parameters:
        label - the label value to remove
        Returns:
        this vertex modifier
      • setProperty

        public VertexModifier<VID> setProperty​(java.lang.String key,
                                               java.lang.Object value)
        Sets the property value of this vertex 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 VertexBuilder<VID>
        Specified by:
        setProperty in interface VertexModifier<VID>
        Parameters:
        key - the property key
        value - the value of the vertex property
        Returns:
        this vertex builder
      • getId

        public VID getId()
        Gets the id of the element (vertex or edge) this builder belongs to
        Specified by:
        getId in interface VertexBuilder<VID>
        Specified by:
        getId in interface VertexModifier<VID>
        Returns:
        the id of the element