Class ReactionNetworkEntity

    • Field Detail

      • id

        protected String id
        The id of this entity.
      • labelA

        protected String labelA
        The labels in original doc.
      • labelB

        protected String labelB
        The labels in modified doc.
      • docA

        protected de.unirostock.sems.xmlutils.ds.DocumentNode docA
        The original document.
      • docB

        protected de.unirostock.sems.xmlutils.ds.DocumentNode docB
        The modified document.
      • singleDoc

        protected boolean singleDoc
        The single doc flag if in single-doc-operation-mode.
    • Constructor Detail

      • ReactionNetworkEntity

        public ReactionNetworkEntity​(String entityId,
                                     String labelA,
                                     String labelB,
                                     de.unirostock.sems.xmlutils.ds.DocumentNode docA,
                                     de.unirostock.sems.xmlutils.ds.DocumentNode docB)
        Instantiates a new entity.
        Parameters:
        entityId - the entity id
        labelA - the label of that entity in the original document
        labelB - the label of that entity in the modified document
        docA - the original document
        docB - the modified document
    • Method Detail

      • setDocA

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

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

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

        public void setLabelB​(String labelB)
        Sets the modified label.
        Parameters:
        labelB - the label in the modified document
      • 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 the entity.
        Returns:
        the id
      • getLabel

        public String getLabel()
        Gets the label.
        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.