edu.iastate.metnet.model
Class AbstractBlockunitDecorator

java.lang.Object
  extended by edu.iastate.metnet.model.AbstractBlockunitDecorator
Direct Known Subclasses:
EntitywithcontextDecorator, InteractionDecorator, PathwayDecorator

public abstract class AbstractBlockunitDecorator
extends java.lang.Object

Author:
Jie Li

Field Summary
protected  Blockunit blockunit
          the internal blockunit
protected  java.lang.String tooltipTemplate
          the internal tooltip
 
Constructor Summary
AbstractBlockunitDecorator()
           
 
Method Summary
 Blockunit getBlockunit()
           
 java.lang.String getTooltip()
           
protected  java.lang.String getTooltipTemplate()
           
 void setBlockunit(Blockunit blockunit)
           
protected  void setTooltipTemplate(java.lang.String tooltipTemplate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

blockunit

protected Blockunit blockunit
the internal blockunit


tooltipTemplate

protected java.lang.String tooltipTemplate
the internal tooltip

Constructor Detail

AbstractBlockunitDecorator

public AbstractBlockunitDecorator()
Method Detail

getBlockunit

public Blockunit getBlockunit()
Returns:
Returns the blockunit.

setBlockunit

public void setBlockunit(Blockunit blockunit)
Parameters:
blockunit - The blockunit to set.

getTooltipTemplate

protected java.lang.String getTooltipTemplate()
Returns:
Returns the tooltipTemplate.

setTooltipTemplate

protected void setTooltipTemplate(java.lang.String tooltipTemplate)
Parameters:
tooltipTemplate - The tooltipTemplate to set.

getTooltip

public java.lang.String getTooltip()