edu.iastate.metnet.hibernate
Class Blockunit

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

public class Blockunit
extends AbstractBlockunit
implements java.io.Serializable

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

See Also:
Serialized Form

Constructor Summary
Blockunit()
          Simple constructor of Blockunit instances.
Blockunit(java.lang.Integer blockid)
          Constructor of Blockunit instances given a simple primary key.
 
Method Summary
 java.util.ArrayList getAbbreviationObjectList()
           
 java.util.ArrayList getAbbreviations()
          abbreviation
 java.util.ArrayList getBlockunitabbreviationSet()
           
 java.util.ArrayList getBlockunitcommentSet()
           
 Blockunitconfidence getBlockunitconfidence()
           
 java.util.ArrayList getBlockunitrefSet()
           
 java.util.ArrayList getBlockunitsynonymSet()
           
 java.util.ArrayList getCommentObjectList()
          return the list of comment object
 java.util.ArrayList getComments()
          comments
 Entity getEntity()
           
 java.util.ArrayList getEntityexternaldbSet()
           
 java.lang.Integer getEntityId()
           
 java.lang.String getEntityType()
          entity type
 java.lang.Integer getFunctionconfidence()
           
 java.util.ArrayList getIncomingBlockunitSet()
           
 Interaction getInteraction()
           
 java.lang.String getInteractionType()
          (non-Javadoc)
 java.lang.Integer getLocationconfidence()
           
 java.util.ArrayList getOutgoingBlockunitSet()
           
 PathwayA getPathway()
           
 java.util.ArrayList getReferenceObjectList()
          reference
 java.util.ArrayList getReferences()
          reference
 java.util.ArrayList getSharedUserList()
           
 java.util.ArrayList getSynonymObjectList()
          get the synonym as distinct ArrayList
 java.util.ArrayList getSynonyms()
          get the synonym as distinct ArrayList
 boolean isEntity()
          type
 boolean isGene()
           
 boolean isInChloroplast()
           
 boolean isInMitochondrion()
           
 boolean isInteraction()
          type
 boolean isLocus()
           
 boolean isMetabolite()
           
 boolean isPathway()
          type
 boolean isPolypeptide()
           
 boolean isProtein()
           
 boolean isProteinComplex()
           
 boolean isRNA()
           
 java.util.ArrayList mergeCommentList()
          merge comment for UI
 java.util.ArrayList mergeReferenceList()
          copy entity reference to blockunit reference
 java.util.ArrayList mergeSynonymList()
          merge synonym for UI
 void setBlockunitabbreviationSet(java.util.ArrayList blockunitabbreviationSet)
           
 void setBlockunitcommentSet(java.util.ArrayList blockunitcommentSet)
           
 void setBlockunitconfidence(Blockunitconfidence blockunitconfidence)
           
 void setBlockunitrefSet(java.util.ArrayList blockunitrefSet)
           
 void setBlockunitsynonymSet(java.util.ArrayList blockunitsynonymSet)
           
 void setEntity(Entity entity)
           
 void setFunctionconfidence(java.lang.Integer functionconfidence)
           
 void setIncomingBlockunitSet(java.util.ArrayList incomingBlockunitSet)
           
 void setInteraction(Interaction interaction)
           
 void setLocationconfidence(java.lang.Integer locationconfidence)
           
 void setOutgoingBlockunitSet(java.util.ArrayList outgoingBlockunitSet)
           
 void setPathway(PathwayA pathway)
           
 void setSharedUserList(java.util.ArrayList sharedUserList)
           
 
Methods inherited from class edu.iastate.metnet.hibernate.AbstractBlockunit
equals, getAracycid, getBlockid, getDate, getLocation, getName, getOrganism, getSource, getType, getUsername, hashCode, setAracycid, setBlockid, setDate, setLocation, setName, setOrganism, setSource, setType, setUsername
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Blockunit

public Blockunit()
Simple constructor of Blockunit instances.


Blockunit

public Blockunit(java.lang.Integer blockid)
Constructor of Blockunit instances given a simple primary key.

Parameters:
blockid -
Method Detail

getAbbreviations

public java.util.ArrayList getAbbreviations()
abbreviation

Returns:
vector of abbreviation

getAbbreviationObjectList

public java.util.ArrayList getAbbreviationObjectList()
Returns:
vector of abbreviation object for client table

getBlockunitabbreviationSet

public java.util.ArrayList getBlockunitabbreviationSet()
Returns:
Returns the blockunitabbreviationSet.

getBlockunitcommentSet

public java.util.ArrayList getBlockunitcommentSet()
Returns:
Returns the blockunitcommentSet.

mergeCommentList

public java.util.ArrayList mergeCommentList()
merge comment for UI

Returns:
the merged comment for UI

mergeSynonymList

public java.util.ArrayList mergeSynonymList()
merge synonym for UI

Returns:
the merged synonym for UI

getBlockunitconfidence

public Blockunitconfidence getBlockunitconfidence()
Returns:
Returns the blockunitconfidence.

getBlockunitrefSet

public java.util.ArrayList getBlockunitrefSet()
Returns:
Returns the blockunitrefSet.

getBlockunitsynonymSet

public java.util.ArrayList getBlockunitsynonymSet()
Returns:
Returns the blockunitsynonymSet.

getComments

public java.util.ArrayList getComments()
comments

Returns:
comments

getCommentObjectList

public java.util.ArrayList getCommentObjectList()
return the list of comment object

Returns:
the list of comment object

getEntity

public Entity getEntity()
Returns:
Returns the entity.

getEntityexternaldbSet

public java.util.ArrayList getEntityexternaldbSet()
Returns:

getEntityType

public java.lang.String getEntityType()
entity type

Returns:
entity type

getFunctionconfidence

public java.lang.Integer getFunctionconfidence()
Returns:

getIncomingBlockunitSet

public java.util.ArrayList getIncomingBlockunitSet()
Returns:
Returns the incomingBlockunitSet.

getInteraction

public Interaction getInteraction()
Returns:
Returns the interaction.

getInteractionType

public java.lang.String getInteractionType()
(non-Javadoc)

See Also:
AbstractBlockunit.getType()

getLocationconfidence

public java.lang.Integer getLocationconfidence()
Returns:

getOutgoingBlockunitSet

public java.util.ArrayList getOutgoingBlockunitSet()
Returns:
Returns the outgoingBlockunitSet.

getPathway

public PathwayA getPathway()
Returns:
Returns the pathway.

getReferences

public java.util.ArrayList getReferences()
reference

Returns:
reference

mergeReferenceList

public java.util.ArrayList mergeReferenceList()
copy entity reference to blockunit reference

Returns:
new reference list copy containing both blockunit reference and entity reference

getReferenceObjectList

public java.util.ArrayList getReferenceObjectList()
reference

Returns:
reference object list

getSynonyms

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

Returns:
ArrayList of synonyms

getSynonymObjectList

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

Returns:
ArrayList of synonym objects

isEntity

public boolean isEntity()
type

Returns:
type

getEntityId

public java.lang.Integer getEntityId()

isInteraction

public boolean isInteraction()
type

Returns:
type

isPathway

public boolean isPathway()
type

Returns:
type

setBlockunitabbreviationSet

public void setBlockunitabbreviationSet(java.util.ArrayList blockunitabbreviationSet)
Parameters:
blockunitabbreviationSet - The blockunitabbreviationSet to set.

setBlockunitcommentSet

public void setBlockunitcommentSet(java.util.ArrayList blockunitcommentSet)
Parameters:
blockunitcommentSet - The blockunitcommentSet to set.

setBlockunitconfidence

public void setBlockunitconfidence(Blockunitconfidence blockunitconfidence)
Parameters:
blockunitconfidence - The blockunitconfidence to set.

setBlockunitrefSet

public void setBlockunitrefSet(java.util.ArrayList blockunitrefSet)
Parameters:
blockunitrefSet - The blockunitrefSet to set.

setBlockunitsynonymSet

public void setBlockunitsynonymSet(java.util.ArrayList blockunitsynonymSet)
Parameters:
blockunitsynonymSet - The blockunitsynonymSet to set.

setEntity

public void setEntity(Entity entity)
Parameters:
entity - The entity to set.

setFunctionconfidence

public void setFunctionconfidence(java.lang.Integer functionconfidence)
Parameters:
functionconfidence -

setIncomingBlockunitSet

public void setIncomingBlockunitSet(java.util.ArrayList incomingBlockunitSet)
Parameters:
incomingBlockunitSet - The incomingBlockunitSet to set.

setInteraction

public void setInteraction(Interaction interaction)
Parameters:
interaction - The interaction to set.

setLocationconfidence

public void setLocationconfidence(java.lang.Integer locationconfidence)
Parameters:
locationconfidence -

setOutgoingBlockunitSet

public void setOutgoingBlockunitSet(java.util.ArrayList outgoingBlockunitSet)
Parameters:
outgoingBlockunitSet - The outgoingBlockunitSet to set.

setPathway

public void setPathway(PathwayA pathway)
Parameters:
pathway - The pathway to set.

getSharedUserList

public java.util.ArrayList getSharedUserList()
Returns:
Returns the sharedUserList.

setSharedUserList

public void setSharedUserList(java.util.ArrayList sharedUserList)
Parameters:
sharedUserList - The sharedUserList to set.

isGene

public boolean isGene()
Returns:

isMetabolite

public boolean isMetabolite()
Returns:

isPolypeptide

public boolean isPolypeptide()
Returns:

isProtein

public boolean isProtein()
Returns:

isProteinComplex

public boolean isProteinComplex()
Returns:

isRNA

public boolean isRNA()
Returns:

isInChloroplast

public boolean isInChloroplast()
Returns:

isInMitochondrion

public boolean isInMitochondrion()
Returns:

isLocus

public boolean isLocus()