pid
Class PID
java.lang.Object
pid.PID
- All Implemented Interfaces:
- java.io.Serializable
public class PID
- extends java.lang.Object
- implements java.io.Serializable
An Object mimicking the XML coming from PID
- Author:
- Samuel Croset
- See Also:
- Serialized Form
Constructor Summary |
PID()
Default constructor. |
PID(java.lang.String path)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
created
private java.lang.String created
ontology
private Ontology ontology
model
private Model model
PID
public PID(java.lang.String path)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Parameters:
path
- to serialised file
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
PID
public PID()
- Default constructor.
getCreated
public java.lang.String getCreated()
- Returns:
- the creation date of the XML file.
setCreated
public void setCreated(java.lang.String created)
getOntology
public Ontology getOntology()
- Returns:
- Get the ontology structure behind PID.
setOntology
public void setOntology(Ontology ontology)
getModel
public Model getModel()
- Returns:
- get the model object, inside which there are Molecules, Pathways
and Interactions.
setModel
public void setModel(Model model)