Class VertexBuilderImpl<ID>

    • 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<ID>
        Returns:
        whether method calls are ignored
      • setProperty

        public VertexBuilder<ID> setProperty​(java.lang.String key,
                                             java.lang.Object value)
        Description copied from interface: VertexBuilder
        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<ID>
        Parameters:
        key - the property key
        value - the value of the vertex property
        Returns:
        this vertex builder
      • addLabel

        public VertexBuilder<ID> addLabel​(java.lang.String label)
        Description copied from interface: VertexBuilder
        Adds the given label to this vertex
        Specified by:
        addLabel in interface VertexBuilder<ID>
        Parameters:
        label - the label to be added
        Returns:
        this vertex builder
      • getId

        public ID getId()
        Description copied from interface: VertexBuilder
        Gets the id of the element (vertex or edge) this builder belongs to
        Specified by:
        getId in interface VertexBuilder<ID>
        Returns:
        the id of the element
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object