|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.iastate.metnet.dao.MetnetBlockUnit
public abstract class MetnetBlockUnit
general node in the graph
| Field Summary | |
|---|---|
protected Blockunit |
blockunit
always the latest version for user interface |
protected Blockunit |
buffer
store the original copy for reloaded user interface |
protected int |
ID
any identify to make the node unique in the pathway graph, normally this will be blockid |
(package private) static org.apache.log4j.Logger |
logger
log4j facility |
| Constructor Summary | |
|---|---|
MetnetBlockUnit()
default constuctor |
|
MetnetBlockUnit(Blockunit blockunit)
default constructor when the blockunit is known |
|
| Method Summary | |
|---|---|
java.lang.String |
getAracycID()
|
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.String |
getDate()
|
java.lang.Integer |
getId()
same as getID() but return object |
int |
getID()
get the identity in the pathway graph |
java.lang.String |
getLocation()
|
java.lang.String |
getName()
get the name |
java.lang.String |
getOrganism()
|
java.lang.String |
getSource()
|
java.lang.String |
getType()
|
java.lang.String |
getUsername()
|
abstract 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 |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
static org.apache.log4j.Logger logger
protected Blockunit buffer
protected Blockunit blockunit
protected int ID
| Constructor Detail |
|---|
public MetnetBlockUnit()
public MetnetBlockUnit(Blockunit blockunit)
blockunit - the blockunit| Method Detail |
|---|
public int getID()
IMetnetBlockUnit
getID in interface IMetnetBlockUnitpublic java.lang.Integer getId()
IMetnetBlockUnit
getId in interface IMetnetBlockUnitpublic void setID(int ID)
IMetnetBlockUnit
setID in interface IMetnetBlockUnitpublic java.lang.String getName()
IMetnetBlockUnit
getName in interface IMetnetBlockUnitpublic java.lang.String getOrganism()
public java.lang.String getLocation()
public java.lang.String getUsername()
public java.lang.String getDate()
public java.lang.String getAracycID()
public java.lang.String getSource()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getType()
public Blockunit getBlockunit()
IMetnetBlockUnit
getBlockunit in interface IMetnetBlockUnitpublic void setBlockunit(Blockunit blockunit)
IMetnetBlockUnit
setBlockunit in interface IMetnetBlockUnitblockunit - The blockunit to set.public Blockunit getBuffer()
getBuffer in interface IMetnetBlockUnitpublic abstract boolean isPropertyChanged()
IMetnetBlockUnit
isPropertyChanged in interface IMetnetBlockUnit
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||