edu.iastate.metnet.dao
Class MetnetLiveEntity

java.lang.Object
  extended by edu.iastate.metnet.dao.MetnetBlockUnit
      extended by edu.iastate.metnet.dao.MetnetLiveEntity
All Implemented Interfaces:
IMetnetBlockUnit, java.io.Serializable

public class MetnetLiveEntity
extends MetnetBlockUnit

entitywithlocation node in the graph

Since:
6/19/04
Author:
Jie Li
See Also:
Serialized Form

Field Summary
(package private) static org.apache.log4j.Logger logger
          log4j facility
 
Fields inherited from class edu.iastate.metnet.dao.MetnetBlockUnit
blockunit, buffer, ID
 
Constructor Summary
MetnetLiveEntity()
          default construtor
MetnetLiveEntity(Blockunit blockunit)
           
 
Method Summary
 java.lang.String getEntityName()
           
 java.lang.String getEntityType()
           
 boolean isPropertyChanged()
          determine if the content if changed.
 java.lang.String toString()
          display the name of the entity, if it is polypptide, display the abbreviation, which may be the gene symbol
 
Methods inherited from class edu.iastate.metnet.dao.MetnetBlockUnit
getAracycID, getBlockunit, getBuffer, getDate, getId, getID, getLocation, getName, getOrganism, getSource, getType, getUsername, setBlockunit, setID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

static org.apache.log4j.Logger logger
log4j facility

Constructor Detail

MetnetLiveEntity

public MetnetLiveEntity()
default construtor


MetnetLiveEntity

public MetnetLiveEntity(Blockunit blockunit)
Method Detail

getEntityType

public java.lang.String getEntityType()

getEntityName

public java.lang.String getEntityName()

isPropertyChanged

public boolean isPropertyChanged()
determine if the content if changed. The user editable properties are name, location, type,organism. However, location confidence, function confidence, the synonym, abbreviation, reference and comment are not included.

Specified by:
isPropertyChanged in interface IMetnetBlockUnit
Specified by:
isPropertyChanged in class MetnetBlockUnit
Returns:
true if changed, false if not

toString

public java.lang.String toString()
display the name of the entity, if it is polypptide, display the abbreviation, which may be the gene symbol

Overrides:
toString in class MetnetBlockUnit