java.lang.Object
de.ipk_gatersleben.ag_nw.graffiti.plugins.gui.layout_control.biomodels.SimpleModel

public class SimpleModel
extends Object
Simple Model of a model from the Biomodels database, used to collect important meta-data for later use.
Recent revisions:
2.8.3
  • Constructor Details

    • SimpleModel

      public SimpleModel​(String id, String name)
      Constructor (builds a partial object).
      Parameters:
      id - model identifier
      name - model name
    • SimpleModel

      public SimpleModel​(String id, String name, String submitter, String lastModificationDate)
      Constructor (builds a complete object).
      Parameters:
      id - model identifier (e.g. BIOMD0000000300)
      name - model name
      submitter - name of the submitter
      lastModificationDate - date of last modification (expressed according to ISO 8601, e.g. "2012-01-19T19:22:15+00:00")
  • Method Details

    • hashCode

      public int hashCode()
      Returns a hash code value for this object. Generated by Eclipse.
      Overrides:
      hashCode in class Object
      See Also:
      Object.hashCode()
    • equals

      public boolean equals​(Object obj)
      Indicates whether some other object is "equal to" this one. Partially generated by Eclipse.
      Overrides:
      equals in class Object
      See Also:
      Object.equals(java.lang.Object)
    • toString

      public String toString()
      Returns a string representation of the object.
      Overrides:
      toString in class Object
      See Also:
      Object.toString()
    • getId

      public String getId()
      Get model identifier
      Returns:
      model identifier
    • getName

      public String getName()
      Get the model name
      Returns:
      model name
    • getLastModificationDateStr

      public String getLastModificationDateStr()
      Get the date of last modification, in a human readable form.
      Returns:
      date of last modification
    • getSubmitter

      public String getSubmitter()
      Get names of the authors of the publication
      Returns:
      the authors