Class LinkDescriptor


  • public class LinkDescriptor
    extends java.lang.Object
    Describes a link.
    • Constructor Detail

      • LinkDescriptor

        public LinkDescriptor()
    • Method Detail

      • getLinkId

        public java.lang.Long getLinkId()
        Returns the link identifier.
        Returns:
        link identifier
      • setLinkId

        public void setLinkId​(java.lang.Long linkId)
        Sets the link identifier.
        Parameters:
        linkId - link identifier
      • getStartNodeIdChild

        public java.lang.Long getStartNodeIdChild()
        Returns the start node identifier of the child workspace.
        Returns:
        start node identifier of the child workspace
      • setStartNodeIdChild

        public void setStartNodeIdChild​(java.lang.Long startNodeIdChild)
        Sets the start node identifier of the child workspace.
        Parameters:
        startNodeIdChild - start node identifier of the child workspace
      • getEndNodeIdChild

        public java.lang.Long getEndNodeIdChild()
        Returns the end node identifier of the child workspace.
        Returns:
        end node identifier of the child workspace
      • setEndNodeIdChild

        public void setEndNodeIdChild​(java.lang.Long endNodeIdChild)
        Sets the end node identifier of the child workspace.
        Parameters:
        endNodeIdChild - end node identifier of the child workspace
      • getStartNodeIdParent

        public java.lang.Long getStartNodeIdParent()
        Returns the start node identifier of the parent workspace.
        Returns:
        start node identifier of the parent workspace
      • setStartNodeIdParent

        public void setStartNodeIdParent​(java.lang.Long startNodeIdParent)
        Sets the start node identifier of the parent workspace.
        Parameters:
        startNodeIdParent - start node identifier of the parent workspace
      • getEndNodeIdParent

        public java.lang.Long getEndNodeIdParent()
        Returns the end node identifier of the parent workspace.
        Returns:
        end node identifier of the parent workspace
      • setEndNodeIdParent

        public void setEndNodeIdParent​(java.lang.Long endNodeIdParent)
        Sets the end node identifier of the parent workspace.
        Parameters:
        endNodeIdParent - end node identifier of the parent workspace
      • getConflictDescriptor

        public ConflictDescriptor getConflictDescriptor()
        Returns the link conflict descriptor. Return null if the link has no conflicts.
        Returns:
        conflict descriptor
      • setConflictDescriptor

        public void setConflictDescriptor​(ConflictDescriptor conflictDescriptor)
        Sets the conflict descriptor.
        Parameters:
        conflictDescriptor - conflict descriptor
      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object