uk.ac.ebi.intact.model
Class Product

java.lang.Object
  |
  +--uk.ac.ebi.intact.model.IntactObjectImpl
        |
        +--uk.ac.ebi.intact.model.BasicObjectImpl
              |
              +--uk.ac.ebi.intact.model.Product
All Implemented Interfaces:
BasicObject, IntactObject, java.io.Serializable

public class Product
extends BasicObjectImpl

Describes products of an interaction. example In a phosphorylation, this object would link to the phosphorylated Protein.

Version:
$Id: Product.java,v 1.5 2004/01/31 11:33:13 skerrien Exp $
Author:
hhe
See Also:
Serialized Form

Field Summary
 java.lang.String cvProductRoleAc
           
 java.lang.String interactionAc
           
 java.lang.String interactorAc
           
 
Fields inherited from class uk.ac.ebi.intact.model.IntactObjectImpl
ac, NEW_LINE
 
Constructor Summary
Product()
          Deprecated. Use the full constructor instead (when it exists)
 
Method Summary
 boolean equals(java.lang.Object o)
          Equality for Product is currently based on equality for stoichiometry, CvProductRole, Interaction and Interactor.
 CvProductRole getCvProductRole()
           
 java.lang.String getCvProductRoleAc()
           
 void getcvProductRoleAc(java.lang.String ac)
           
 Interaction getInteraction()
           
 java.lang.String getInteractionAc()
           
 void getInteractionAc(java.lang.String ac)
           
 Interactor getInteractor()
           
 java.lang.String getInteractorAc()
           
 void getInteractorAc(java.lang.String ac)
           
 float getStoichiometry()
           
 int hashCode()
           
 void setCvProductRole(CvProductRole cvProductRole)
           
 void setInteraction(Interaction interaction)
           
 void setInteractor(Interactor interactor)
           
 void setStoichiometry(float stoichiometry)
           
 
Methods inherited from class uk.ac.ebi.intact.model.BasicObjectImpl
addEvidence, getEvidences, getOwner, getOwnerAc, removeEvidence, setEvidences, setOwner, setOwnerAc, toString
 
Methods inherited from class uk.ac.ebi.intact.model.IntactObjectImpl
getAc, getCreated, getUpdated, setAc, setCreated, setUpdated
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface uk.ac.ebi.intact.model.IntactObject
getAc, getCreated, getUpdated, setAc, setCreated, setUpdated
 

Field Detail

interactionAc

public java.lang.String interactionAc

interactorAc

public java.lang.String interactorAc

cvProductRoleAc

public java.lang.String cvProductRoleAc
Constructor Detail

Product

public Product()
Deprecated. Use the full constructor instead (when it exists)

This constructor should not be used as it could result in objects with invalid state. It is here for object mapping purposes only and if possible will be made private.

Method Detail

getStoichiometry

public float getStoichiometry()

setStoichiometry

public void setStoichiometry(float stoichiometry)

getInteraction

public Interaction getInteraction()

setInteraction

public void setInteraction(Interaction interaction)

getInteractor

public Interactor getInteractor()

setInteractor

public void setInteractor(Interactor interactor)

getCvProductRole

public CvProductRole getCvProductRole()

setCvProductRole

public void setCvProductRole(CvProductRole cvProductRole)

equals

public boolean equals(java.lang.Object o)
Equality for Product is currently based on equality for stoichiometry, CvProductRole, Interaction and Interactor.

Overrides:
equals in class java.lang.Object
Parameters:
o - The object to check
Returns:
true if the parameter equlas this object, false otherwise
See Also:
CvProductRole, Interaction, Interactor

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getInteractionAc

public java.lang.String getInteractionAc()

getInteractionAc

public void getInteractionAc(java.lang.String ac)

getInteractorAc

public java.lang.String getInteractorAc()

getInteractorAc

public void getInteractorAc(java.lang.String ac)

getCvProductRoleAc

public java.lang.String getCvProductRoleAc()

getcvProductRoleAc

public void getcvProductRoleAc(java.lang.String ac)


IntAct Project - EMBL-EBI 2004 - intact-help@ebi.ac.uk