|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.iastate.metnet.birdseyeview.Protein
public abstract class Protein
The Protein class is an abstract class that encapsulates the name, metnet entity ID, and type of a protein. Subclasses are the types of protein.
| Constructor Summary | |
|---|---|
Protein(java.lang.Integer id,
java.lang.String n,
java.lang.String t)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
This method overrides the Object.equals method to explicitly show equality for proteins. |
java.lang.Integer |
getEntityID()
Returns the entityID. |
java.lang.String |
getName()
Returns the name. |
java.lang.String |
getType()
Returns the type. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Protein(java.lang.Integer id,
java.lang.String n,
java.lang.String t)
id - n - t - | Method Detail |
|---|
public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - Another Protein object
public java.lang.Integer getEntityID()
public java.lang.String getName()
public java.lang.String getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||