edu.iastate.metnet.dao
Class TrivialMetabolite

java.lang.Object
  extended by edu.iastate.metnet.dao.TrivialMetabolite
All Implemented Interfaces:
java.io.Serializable

public class TrivialMetabolite
extends java.lang.Object
implements java.io.Serializable

contains the information of trivial metabolites that have highly connections

Author:
Jie Li
See Also:
Serialized Form

Field Summary
(package private)  java.lang.Integer degree
          the degree of the entity
(package private)  java.lang.Integer entityId
          the entityid of the entity
(package private)  java.lang.String name
          the name of the entity
 
Constructor Summary
TrivialMetabolite()
          default constructor
TrivialMetabolite(java.lang.Integer entityId, java.lang.String name, java.lang.Integer degree)
          default constructor
TrivialMetabolite(int entityId, java.lang.String name, int degree)
          default constructor
 
Method Summary
 java.lang.Integer getDegree()
           
 java.lang.Integer getEntityId()
           
 java.lang.String getName()
           
 void setDegree(int degree)
           
 void setDegree(java.lang.Integer degree)
           
 void setEntityId(int entityId)
           
 void setEntityId(java.lang.Integer entityId)
           
 void setName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entityId

java.lang.Integer entityId
the entityid of the entity


name

java.lang.String name
the name of the entity


degree

java.lang.Integer degree
the degree of the entity

Constructor Detail

TrivialMetabolite

public TrivialMetabolite()
default constructor


TrivialMetabolite

public TrivialMetabolite(java.lang.Integer entityId,
                         java.lang.String name,
                         java.lang.Integer degree)
default constructor

Parameters:
entityId - the entity id
name - the name of the entity
degree - the degree of the entity

TrivialMetabolite

public TrivialMetabolite(int entityId,
                         java.lang.String name,
                         int degree)
default constructor

Parameters:
entityId - the entity id
name - the name of the entity
degree - the degree of the entity
Method Detail

getDegree

public java.lang.Integer getDegree()
Returns:
the degree

setDegree

public void setDegree(java.lang.Integer degree)
Parameters:
degree - the degree to set

setDegree

public void setDegree(int degree)
Parameters:
degree - the degree to set

getEntityId

public java.lang.Integer getEntityId()
Returns:
the entityId

setEntityId

public void setEntityId(java.lang.Integer entityId)
Parameters:
entityId - the entityId to set

setEntityId

public void setEntityId(int entityId)
Parameters:
entityId - the entityId to set

getName

public java.lang.String getName()
Returns:
the name

setName

public void setName(java.lang.String name)
Parameters:
name - the name to set