pid
Class PID

java.lang.Object
  extended by 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

Field Summary
private  java.lang.String created
           
private  Model model
           
private  Ontology ontology
           
 
Constructor Summary
PID()
          Default constructor.
PID(java.lang.String path)
           
 
Method Summary
 java.lang.String getCreated()
           
 Model getModel()
           
 Ontology getOntology()
           
 void setCreated(java.lang.String created)
           
 void setModel(Model model)
           
 void setOntology(Ontology ontology)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

created

private java.lang.String created

ontology

private Ontology ontology

model

private Model model
Constructor Detail

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.

Method Detail

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)