uk.ac.ebi.intact.simpleGraph
Class BasicGraph

java.lang.Object
  |
  +--java.util.AbstractMap
        |
        +--java.util.HashMap
              |
              +--uk.ac.ebi.intact.simpleGraph.BasicGraph
All Implemented Interfaces:
BasicGraphI, java.lang.Cloneable, java.util.Map, java.io.Serializable
Direct Known Subclasses:
Edge, Graph, Node

public abstract class BasicGraph
extends java.util.HashMap
implements BasicGraphI

Common properties for objects in the SimpleGraph package. Extends HashMap to allow easy implementation of key-value functionality.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class java.util.Map
java.util.Map.Entry
 
Constructor Summary
BasicGraph()
           
 
Method Summary
 java.lang.String getId()
           
 java.lang.String getLabel()
           
 void setId(java.lang.String id)
           
 void setLabel(java.lang.String label)
           
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

BasicGraph

public BasicGraph()
Method Detail

setId

public void setId(java.lang.String id)
Specified by:
setId in interface BasicGraphI

setLabel

public void setLabel(java.lang.String label)
Specified by:
setLabel in interface BasicGraphI

getId

public java.lang.String getId()
Specified by:
getId in interface BasicGraphI

getLabel

public java.lang.String getLabel()
Specified by:
getLabel in interface BasicGraphI


IntAct Project - EMBL-EBI 2004 - intact-help@ebi.ac.uk