edu.iastate.metnet.model
Class SelectedBlockunit
java.lang.Object
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
SelectedBlockunit
public SelectedBlockunit()
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.