Interface EntityId

    • Method Detail

      • getVertex

        Object getVertex()
        Get the vertex object.
        Returns:
        the vertex
      • setVertex

        void setVertex​(Object vertex)
        Set the vertex object.
        Parameters:
        vertex - the vertex object to set
      • isEqual

        default boolean isEqual​(EntityId that)
      • isRelated

        default ElementId.Matches isRelated​(ElementId that)
        This is related to an ElementId if either the ElementId is equal to this EntityId or it is an EdgeId and its source or destination matches this EntityId's vertex.
        Specified by:
        isRelated in interface ElementId
        Parameters:
        that - the ElementId to compare
        Returns:
        An instance of ElementId.Matches to describe how the seeds are related.
      • isRelated

        default ElementId.Matches isRelated​(EdgeId that)
        This is related to an EdgeId if either the EdgeId's source or destination matches this EntityId's vertex.
        Parameters:
        that - the EdgeId to compare
        Returns:
        An instance of ElementId.Matches to describe how the seeds are related.