Class SimpleModel
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 Summary
Constructors Constructor Description SimpleModel(String id, String name)
Constructor (builds a partial object).SimpleModel(String id, String name, String submitter, String lastModificationDate)
Constructor (builds a complete object). -
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
Indicates whether some other object is "equal to" this one.String
getId()
Get model identifierString
getLastModificationDateStr()
Get the date of last modification, in a human readable form.String
getName()
Get the model nameString
getSubmitter()
Get names of the authors of the publicationint
hashCode()
Returns a hash code value for this object.String
toString()
Returns a string representation of the object.
-
Constructor Details
-
SimpleModel
Constructor (builds a partial object).- Parameters:
id
- model identifiername
- model name
-
SimpleModel
Constructor (builds a complete object).- Parameters:
id
- model identifier (e.g. BIOMD0000000300)name
- model namesubmitter
- name of the submitterlastModificationDate
- 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 classObject
- See Also:
Object.hashCode()
-
equals
Indicates whether some other object is "equal to" this one. Partially generated by Eclipse.- Overrides:
equals
in classObject
- See Also:
Object.equals(java.lang.Object)
-
toString
Returns a string representation of the object.- Overrides:
toString
in classObject
- See Also:
Object.toString()
-
getId
Get model identifier- Returns:
- model identifier
-
getName
Get the model name- Returns:
- model name
-
getLastModificationDateStr
Get the date of last modification, in a human readable form.- Returns:
- date of last modification
-
getSubmitter
Get names of the authors of the publication- Returns:
- the authors
-