edu.iastate.metnet.model
Class SelectedBlockunit

java.lang.Object
  extended by edu.iastate.metnet.model.SelectedBlockunit

public class SelectedBlockunit
extends java.lang.Object

Author:
Jie Li

Field Summary
(package private)  Blockunit blockunit
          delegated blockunit
(package private)  boolean newBlockunit
          true if remained after merge
(package private)  boolean oldBlockunit
          true if included in the merge operation
(package private)  boolean willDeleted
          true if after merge, the blockunit is permanantly removed from database.
 
Constructor Summary
SelectedBlockunit()
           
 
Method Summary
 java.util.ArrayList getAbbreviations()
           
 java.lang.Integer getBlockid()
           
 Blockunit getBlockunit()
           
 java.lang.String getEntityType()
           
 java.lang.String getInteractionType()
           
 java.lang.String getLocation()
           
 java.lang.String getName()
           
 java.util.ArrayList getSynonyms()
           
 boolean isEntity()
           
 boolean isInteraction()
           
 boolean isNewBlockunit()
           
 boolean isOldBlockunit()
           
 boolean isWillDeleted()
           
 void setBlockunit(Blockunit blockunit)
           
 void setNewBlockunit(boolean newBlockunit)
           
 void setOldBlockunit(boolean oldBlockunit)
           
 void setWillDeleted(boolean willDeleted)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

blockunit

Blockunit blockunit
delegated blockunit


newBlockunit

boolean newBlockunit
true if remained after merge


oldBlockunit

boolean oldBlockunit
true if included in the merge operation


willDeleted

boolean willDeleted
true if after merge, the blockunit is permanantly removed from database. false if only overwritten in interactions

Constructor Detail

SelectedBlockunit

public SelectedBlockunit()
Method Detail

getBlockunit

public Blockunit getBlockunit()
Returns:
Returns the blockunit.

setBlockunit

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

getAbbreviations

public java.util.ArrayList getAbbreviations()
Returns:

getBlockid

public java.lang.Integer getBlockid()
Returns:

getEntityType

public java.lang.String getEntityType()
Returns:

getInteractionType

public java.lang.String getInteractionType()
Returns:

getLocation

public java.lang.String getLocation()
Returns:

getName

public java.lang.String getName()
Returns:

getSynonyms

public java.util.ArrayList getSynonyms()
Returns:

isEntity

public boolean isEntity()
Returns:

isInteraction

public boolean isInteraction()
Returns:

isNewBlockunit

public boolean isNewBlockunit()
Returns:
Returns the newBlockunit.

setNewBlockunit

public void setNewBlockunit(boolean newBlockunit)
Parameters:
newBlockunit - The newBlockunit to set.

isOldBlockunit

public boolean isOldBlockunit()
Returns:
Returns the oldBlockunit.

setOldBlockunit

public void setOldBlockunit(boolean oldBlockunit)
Parameters:
oldBlockunit - The oldBlockunit to set.

isWillDeleted

public boolean isWillDeleted()
Returns:
Returns the willDeleted.

setWillDeleted

public void setWillDeleted(boolean willDeleted)
Parameters:
willDeleted - The willDeleted to set.