edu.iastate.metnet.dao
Interface IMetnetBlockUnit

All Known Implementing Classes:
MetnetBlockUnit, MetnetInteraction, MetnetLiveEntity, MetnetPathway

public interface IMetnetBlockUnit

general node in the graph

Since:
6/19/04
Author:
Jie Li

Method Summary
 Blockunit getBlockunit()
          get the blockunit, can be changed in the user interface
 Blockunit getBuffer()
          get the buffered blockunit, never touched for comparison when things are being saved
 java.lang.Integer getId()
          same as getID() but return object
 int getID()
          get the identity in the pathway graph
 java.lang.String getName()
          get the name
 boolean isPropertyChanged()
          detect if the content is changed, for the interaction, it means the properties, not the structure
 void setBlockunit(Blockunit blockunit)
          set the blockunit
 void setID(int ID)
          set the identity
 

Method Detail

getID

int getID()
get the identity in the pathway graph

Returns:
the identity

getId

java.lang.Integer getId()
same as getID() but return object

Returns:
the id object

setID

void setID(int ID)
set the identity

Parameters:
ID -

getName

java.lang.String getName()
get the name

Returns:
the name of the blockunit

getBlockunit

Blockunit getBlockunit()
get the blockunit, can be changed in the user interface

Returns:
the blockunit for user interface

setBlockunit

void setBlockunit(Blockunit blockunit)
set the blockunit

Parameters:
blockunit - the blockunit

getBuffer

Blockunit getBuffer()
get the buffered blockunit, never touched for comparison when things are being saved

Returns:
the buffered blockunit

isPropertyChanged

boolean isPropertyChanged()
detect if the content is changed, for the interaction, it means the properties, not the structure

Returns:
true if changed, false if not