Class HierarchyNetworkEntity

    • Constructor Detail

      • HierarchyNetworkEntity

        public HierarchyNetworkEntity​(String id,
                                      String labelA,
                                      String labelB,
                                      de.unirostock.sems.xmlutils.ds.DocumentNode docA,
                                      de.unirostock.sems.xmlutils.ds.DocumentNode docB)
        Instantiates a new hierarchy network entity.
        Parameters:
        id - the id of this entity
        labelA - the label a
        labelB - the label b
        docA - the doc a
        docB - the doc b
    • Method Detail

      • setDocA

        public void setDocA​(de.unirostock.sems.xmlutils.ds.DocumentNode docA)
        Sets the document node from the original document.
        Parameters:
        docA - the original document node
      • setLabelA

        public void setLabelA​(String labelA)
        Sets the label from the original document.
        Parameters:
        labelA - the original label
      • setDocB

        public void setDocB​(de.unirostock.sems.xmlutils.ds.DocumentNode docB)
        Sets the document node from the modified document.
        Parameters:
        docB - the modified document node
      • setLabelB

        public void setLabelB​(String labelB)
        Sets the label from the modified document.
        Parameters:
        labelB - the modified label
      • getA

        public de.unirostock.sems.xmlutils.ds.DocumentNode getA()
        Gets the original document node.
        Returns:
        the original document node
      • getB

        public de.unirostock.sems.xmlutils.ds.DocumentNode getB()
        Gets the modified document node.
        Returns:
        the modified document node
      • getId

        public String getId()
        Gets the id of this entity.
        Returns:
        the id
      • getLabel

        public String getLabel()
        Gets the label of this entity.
        Returns:
        the label
      • getModification

        public int getModification()
        Gets the modification of this entity.
        Returns:
        the modification
      • setSingleDocument

        public void setSingleDocument()
        Sets the single document flag.