Class SBMLGenericIdNameObject

    • Field Detail

      • id

        protected String id
        The id.
      • name

        protected String name
        The name.
    • Constructor Detail

      • SBMLGenericIdNameObject

        public SBMLGenericIdNameObject​(de.unirostock.sems.xmlutils.ds.DocumentNode documentNode,
                                       SBMLModel sbmlModel)
                                throws BivesSBMLParseException
        Instantiates a new SBML generic id-name-object.
        Parameters:
        documentNode - the document node encoding this entity in the corresponding XML tree
        sbmlModel - the SBML model
        Throws:
        BivesSBMLParseException - the bives sbml parse exception
    • Method Detail

      • getNameOrId

        public final String getNameOrId()
        Gets the name (if defined) or the id (if name undefined).
        Returns:
        the name or id
      • getNameAndId

        public final String getNameAndId()
        Gets the name (if defined) and the id as: NAME (ID).
        Returns:
        the name and id
      • getID

        public final String getID()
        Gets the id.
        Returns:
        the id
      • getName

        public final String getName()
        Gets the name.
        Returns:
        the name