edu.iastate.metnet.dao
Class AbstractPathwayElementNode

java.lang.Object
  extended by edu.iastate.metnet.dao.AbstractPathwayElementNode
All Implemented Interfaces:
PathwayElementNode, java.io.Serializable
Direct Known Subclasses:
EntityNode, InteractionNode

public class AbstractPathwayElementNode
extends java.lang.Object
implements PathwayElementNode, java.io.Serializable

pathway element node.

Author:
Jie Li
See Also:
Serialized Form

Field Summary
(package private)  java.lang.String biologicalType
          the biological type
(package private)  java.lang.Integer blockId
          the blockid of the blockunit
(package private)  java.lang.String guid
          guid for the object, since blockid is not enough for multi-pathway cases
(package private)  java.lang.String location
          the subcellular location
(package private)  java.lang.String name
          the name
 
Constructor Summary
AbstractPathwayElementNode()
           
 
Method Summary
 void addDownstreamGuid(java.lang.String guid)
          add a downstream node
 void addDownstreamNodeId(java.lang.Integer nodeId)
          add a downstream node
 void addUpstreamGuid(java.lang.String guid)
          add an upstream node
 void addUpstreamNodeId(java.lang.Integer nodeId)
          add an upstream node
 java.lang.String getBiologicalType()
          get the biological type for the data instance
 java.lang.Integer getBlockId()
          the blockid of the blockunit (version)
 java.util.Set getDownstreamGuidSet()
          get the outgoing node id
 java.util.Set getDownstreamNodeIdSet()
          get the outgoing node id
 java.lang.String getGuid()
           
 java.lang.String getLocation()
          get the subcellular location
 java.lang.String getName()
          get the name of the data instance
 java.util.Set getUpstreamGuidSet()
          get the incoming node id
 java.util.Set getUpstreamNodeIdSet()
          get the incoming node id
 void setBiologicalType(java.lang.String biologicalType)
           
 void setBlockId(java.lang.Integer blockId)
          set the blockid of the blockunit (version)
 void setLocation(java.lang.String location)
           
 void setName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

guid

java.lang.String guid
guid for the object, since blockid is not enough for multi-pathway cases


blockId

java.lang.Integer blockId
the blockid of the blockunit


name

java.lang.String name
the name


biologicalType

java.lang.String biologicalType
the biological type


location

java.lang.String location
the subcellular location

Constructor Detail

AbstractPathwayElementNode

public AbstractPathwayElementNode()
Method Detail

getBlockId

public java.lang.Integer getBlockId()
Description copied from interface: PathwayElementNode
the blockid of the blockunit (version)

Specified by:
getBlockId in interface PathwayElementNode
Returns:
the blockid

setBlockId

public void setBlockId(java.lang.Integer blockId)
Description copied from interface: PathwayElementNode
set the blockid of the blockunit (version)

Specified by:
setBlockId in interface PathwayElementNode

getDownstreamNodeIdSet

public java.util.Set getDownstreamNodeIdSet()
Description copied from interface: PathwayElementNode
get the outgoing node id

Specified by:
getDownstreamNodeIdSet in interface PathwayElementNode
Returns:
Returns the downstreamNodeIdSet.

getUpstreamNodeIdSet

public java.util.Set getUpstreamNodeIdSet()
Description copied from interface: PathwayElementNode
get the incoming node id

Specified by:
getUpstreamNodeIdSet in interface PathwayElementNode
Returns:
Returns the upstreamNodeIdSet.

addDownstreamNodeId

public void addDownstreamNodeId(java.lang.Integer nodeId)
add a downstream node

Specified by:
addDownstreamNodeId in interface PathwayElementNode
Parameters:
nodeId - the node id to be added

addDownstreamGuid

public void addDownstreamGuid(java.lang.String guid)
add a downstream node

Specified by:
addDownstreamGuid in interface PathwayElementNode
Parameters:
nodeId - the node id to be added

addUpstreamNodeId

public void addUpstreamNodeId(java.lang.Integer nodeId)
add an upstream node

Specified by:
addUpstreamNodeId in interface PathwayElementNode
Parameters:
nodeId - the node id to be added

addUpstreamGuid

public void addUpstreamGuid(java.lang.String guid)
add an upstream node

Specified by:
addUpstreamGuid in interface PathwayElementNode
Parameters:
nodeId - the node id to be added

getBiologicalType

public java.lang.String getBiologicalType()
Description copied from interface: PathwayElementNode
get the biological type for the data instance

Specified by:
getBiologicalType in interface PathwayElementNode
Returns:
Returns the biologicalType.

setBiologicalType

public void setBiologicalType(java.lang.String biologicalType)
Parameters:
biologicalType - The biologicalType to set.

getName

public java.lang.String getName()
Description copied from interface: PathwayElementNode
get the name of the data instance

Specified by:
getName in interface PathwayElementNode
Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Parameters:
name - The name to set.

getLocation

public java.lang.String getLocation()
Description copied from interface: PathwayElementNode
get the subcellular location

Specified by:
getLocation in interface PathwayElementNode
Returns:
Returns the location.

setLocation

public void setLocation(java.lang.String location)
Parameters:
location - The location to set.

getGuid

public java.lang.String getGuid()
Specified by:
getGuid in interface PathwayElementNode
Returns:
Returns the guid.

getDownstreamGuidSet

public java.util.Set getDownstreamGuidSet()
Description copied from interface: PathwayElementNode
get the outgoing node id

Specified by:
getDownstreamGuidSet in interface PathwayElementNode
Returns:
Returns the downStreamGuidSet.

getUpstreamGuidSet

public java.util.Set getUpstreamGuidSet()
Description copied from interface: PathwayElementNode
get the incoming node id

Specified by:
getUpstreamGuidSet in interface PathwayElementNode
Returns:
Returns the upStreamGuidSet.