edu.iastate.metnet.hibernate
Class Entity

java.lang.Object
  extended by edu.iastate.metnet.hibernate.AbstractEntity
      extended by edu.iastate.metnet.hibernate.Entity
All Implemented Interfaces:
java.io.Serializable

public class Entity
extends AbstractEntity
implements java.io.Serializable

A class that represents a row in the 'entity' table. This class may be customized as it is never re-generated after being created.

See Also:
Serialized Form

Constructor Summary
Entity()
          Simple constructor of Entity instances.
Entity(java.lang.Integer entityid)
          Constructor of Entity instances given a simple primary key.
 
Method Summary
 java.util.ArrayList getAbbreviations()
          abbreviation
 java.util.ArrayList getEntityabbreviationSet()
           
 java.util.ArrayList getEntitycommentSet()
           
 java.util.ArrayList getEntityexternaldbSet()
           
 java.util.ArrayList getEntityOntologySet()
           
 java.util.ArrayList getEntityrefSet()
           
 java.util.ArrayList getEntitysynonymSet()
           
 java.util.ArrayList getSynonyms()
          get the synonym as distinct Vector
 boolean isGene()
           
 boolean isInChloroplast()
           
 boolean isInMitochondrion()
           
 boolean isMetabolite()
           
 boolean isPolypeptide()
           
 boolean isProtein()
           
 boolean isProteinComplex()
           
 boolean isRNA()
           
 void setEntityabbreviationSet(java.util.ArrayList entityabbreviationSet)
           
 void setEntitycommentSet(java.util.ArrayList entitycommentSet)
           
 void setEntityexternaldbSet(java.util.ArrayList entityexternaldbSet)
           
 void setEntityOntologySet(java.util.ArrayList entityOntologySet)
           
 void setEntityrefSet(java.util.ArrayList entityrefSet)
           
 void setEntitysynonymSet(java.util.ArrayList entitysynonymSet)
           
 
Methods inherited from class edu.iastate.metnet.hibernate.AbstractEntity
equals, getDate, getEntityid, getName, getOrganism, getSource, getType, getUsername, hashCode, setDate, setEntityid, setName, setOrganism, setSource, setType, setUsername
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Entity

public Entity()
Simple constructor of Entity instances.


Entity

public Entity(java.lang.Integer entityid)
Constructor of Entity instances given a simple primary key.

Parameters:
entityid -
Method Detail

getEntityexternaldbSet

public java.util.ArrayList getEntityexternaldbSet()
Returns:
Returns the entityexternaldbSet.

setEntityexternaldbSet

public void setEntityexternaldbSet(java.util.ArrayList entityexternaldbSet)
Parameters:
entityexternaldbSet - The entityexternaldbSet to set.

getEntityabbreviationSet

public java.util.ArrayList getEntityabbreviationSet()
Returns:
Returns the entityabbreviationSet.

getEntitycommentSet

public java.util.ArrayList getEntitycommentSet()
Returns:
Returns the entitycommentSet.

getEntityrefSet

public java.util.ArrayList getEntityrefSet()
Returns:
Returns the entityrefSet.

getEntitysynonymSet

public java.util.ArrayList getEntitysynonymSet()
Returns:
Returns the entitysynonymSet.

setEntityabbreviationSet

public void setEntityabbreviationSet(java.util.ArrayList entityabbreviationSet)
Parameters:
entityabbreviationSet - The entityabbreviationSet to set.

setEntitycommentSet

public void setEntitycommentSet(java.util.ArrayList entitycommentSet)
Parameters:
entitycommentSet - The entitycommentSet to set.

setEntityrefSet

public void setEntityrefSet(java.util.ArrayList entityrefSet)
Parameters:
entityrefSet - The entityrefSet to set.

setEntitysynonymSet

public void setEntitysynonymSet(java.util.ArrayList entitysynonymSet)
Parameters:
entitysynonymSet - The entitysynonymSet to set.

getAbbreviations

public java.util.ArrayList getAbbreviations()
abbreviation

Returns:
vector of abbreviation

getSynonyms

public java.util.ArrayList getSynonyms()
get the synonym as distinct Vector

Returns:
vector of synonyms

getEntityOntologySet

public java.util.ArrayList getEntityOntologySet()
Returns:
Returns the entityOntologySet.

setEntityOntologySet

public void setEntityOntologySet(java.util.ArrayList entityOntologySet)
Parameters:
entityOntologySet - The entityOntologySet to set.

isGene

public boolean isGene()

isRNA

public boolean isRNA()

isPolypeptide

public boolean isPolypeptide()

isProteinComplex

public boolean isProteinComplex()

isProtein

public boolean isProtein()

isMetabolite

public boolean isMetabolite()

isInChloroplast

public boolean isInChloroplast()

isInMitochondrion

public boolean isInMitochondrion()