uk.ac.ebi.intact.model.proxy
Class ProteinProxy

java.lang.Object
  |
  +--org.apache.ojb.broker.VirtualProxy
        |
        +--uk.ac.ebi.intact.model.proxy.IntactObjectProxy
              |
              +--uk.ac.ebi.intact.model.proxy.BasicObjectProxy
                    |
                    +--uk.ac.ebi.intact.model.proxy.AnnotatedObjectProxy
                          |
                          +--uk.ac.ebi.intact.model.proxy.InteractorProxy
                                |
                                +--uk.ac.ebi.intact.model.proxy.ProteinProxy
All Implemented Interfaces:
AnnotatedObject, BasicObject, IntactObject, Interactor, Protein, java.io.Serializable

public class ProteinProxy
extends InteractorProxy
implements Protein

Version:
$Id: ProteinProxy.java,v 1.2 2004/02/10 15:07:16 skerrien Exp $
Author:
Samuel Kerrien (skerrien@ebi.ac.uk)
See Also:
Serialized Form

Constructor Summary
ProteinProxy()
           
ProteinProxy(java.lang.reflect.InvocationHandler handler)
           
ProteinProxy(org.apache.ojb.broker.PBKey key, org.apache.ojb.broker.Identity uniqueId)
           
 
Method Summary
 void addFeature(Feature feature)
           
 void addModification(Modification modification)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getCrc64()
           
 CvProteinForm getCvProteinForm()
           
 java.lang.String getCvProteinFormAc()
           
 java.util.Collection getFeatures()
           
 Protein getFormOf()
           
 java.lang.String getFormOfAc()
           
 java.util.Collection getModifications()
           
 java.lang.String getSequence()
          Implements Protein's methods
 int hashCode()
           
 void removeFeature(Feature feature)
           
 void removeModification(Modification modification)
           
 void setCrc64(java.lang.String crc64)
           
 void setCvProteinForm(CvProteinForm cvProteinForm)
           
 void setCvProteinFormAc(java.lang.String cvProteinFormAc)
           
 void setFeatures(java.util.Collection someFeature)
           
 void setFormOf(Protein protein)
           
 void setFormOfAc(java.lang.String ac)
           
 void setModifications(java.util.Collection someModification)
           
 void setSequence(IntactHelper helper, java.lang.String aSequence)
           
 void setSequence(IntactHelper helper, java.lang.String aSequence, java.lang.String crc64)
           
 
Methods inherited from class uk.ac.ebi.intact.model.proxy.InteractorProxy
addActiveInstance, addProduct, getActiveInstances, getBioSource, getBioSourceAc, getProducts, removeActiveInstance, removeProduct, setActiveInstances, setBioSource, setBioSourceAc, setProducts
 
Methods inherited from class uk.ac.ebi.intact.model.proxy.AnnotatedObjectProxy
addAlias, addAnnotation, addReference, addXref, getAliases, getAnnotations, getCurator, getCuratorAc, getFullName, getReferences, getShortLabel, getXrefs, removeAlias, removeAnnotation, removeReference, removeXref, setAliases, setAnnotation, setCurator, setCuratorAc, setFullName, setReferences, setShortLabel, setXrefs, update, updateUniqueAnnotation
 
Methods inherited from class uk.ac.ebi.intact.model.proxy.BasicObjectProxy
addEvidence, getEvidences, getOwner, getOwnerAc, removeEvidence, setEvidences, setOwner, setOwnerAc
 
Methods inherited from class uk.ac.ebi.intact.model.proxy.IntactObjectProxy
getAc, getCreated, getRealClassName, getUpdated, setAc, setCreated, setUpdated, toString
 
Methods inherited from class org.apache.ojb.broker.VirtualProxy
alreadyMaterialized, createProxy, getIndirectionHandler, getRealSubject
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface uk.ac.ebi.intact.model.Interactor
addActiveInstance, addProduct, getActiveInstances, getBioSource, getBioSourceAc, getProducts, removeActiveInstance, removeProduct, setActiveInstances, setBioSource, setBioSourceAc, setProducts, toString
 
Methods inherited from interface uk.ac.ebi.intact.model.AnnotatedObject
addAlias, addAnnotation, addReference, addXref, getAliases, getAnnotations, getCurator, getCuratorAc, getFullName, getReferences, getShortLabel, getXrefs, removeAlias, removeAnnotation, removeReference, removeXref, setAliases, setAnnotation, setCurator, setCuratorAc, setFullName, setReferences, setShortLabel, setXrefs, update, updateUniqueAnnotation
 
Methods inherited from interface uk.ac.ebi.intact.model.BasicObject
addEvidence, getEvidences, getOwner, getOwnerAc, removeEvidence, setEvidences, setOwner, setOwnerAc
 
Methods inherited from interface uk.ac.ebi.intact.model.IntactObject
getAc, getCreated, getUpdated, setAc, setCreated, setUpdated
 

Constructor Detail

ProteinProxy

public ProteinProxy()

ProteinProxy

public ProteinProxy(org.apache.ojb.broker.PBKey key,
                    org.apache.ojb.broker.Identity uniqueId)
Parameters:
uniqueId - org.apache.ojb.broker.Identity

ProteinProxy

public ProteinProxy(java.lang.reflect.InvocationHandler handler)
Method Detail

getSequence

public java.lang.String getSequence()
Implements Protein's methods

Specified by:
getSequence in interface Protein

setSequence

public void setSequence(IntactHelper helper,
                        java.lang.String aSequence,
                        java.lang.String crc64)
                 throws IntactException
Specified by:
setSequence in interface Protein
IntactException

setSequence

public void setSequence(IntactHelper helper,
                        java.lang.String aSequence)
                 throws IntactException
Specified by:
setSequence in interface Protein
IntactException

getCrc64

public java.lang.String getCrc64()
Specified by:
getCrc64 in interface Protein

setCrc64

public void setCrc64(java.lang.String crc64)
Specified by:
setCrc64 in interface Protein

getFormOf

public Protein getFormOf()
Specified by:
getFormOf in interface Protein

setFormOf

public void setFormOf(Protein protein)
Specified by:
setFormOf in interface Protein

getCvProteinForm

public CvProteinForm getCvProteinForm()
Specified by:
getCvProteinForm in interface Protein

setCvProteinForm

public void setCvProteinForm(CvProteinForm cvProteinForm)
Specified by:
setCvProteinForm in interface Protein

setFeatures

public void setFeatures(java.util.Collection someFeature)
Specified by:
setFeatures in interface Protein

getFeatures

public java.util.Collection getFeatures()
Specified by:
getFeatures in interface Protein

addFeature

public void addFeature(Feature feature)
Specified by:
addFeature in interface Protein

removeFeature

public void removeFeature(Feature feature)
Specified by:
removeFeature in interface Protein

setModifications

public void setModifications(java.util.Collection someModification)
Specified by:
setModifications in interface Protein

getModifications

public java.util.Collection getModifications()
Specified by:
getModifications in interface Protein

addModification

public void addModification(Modification modification)
Specified by:
addModification in interface Protein

removeModification

public void removeModification(Modification modification)
Specified by:
removeModification in interface Protein

getCvProteinFormAc

public java.lang.String getCvProteinFormAc()
Specified by:
getCvProteinFormAc in interface Protein

setCvProteinFormAc

public void setCvProteinFormAc(java.lang.String cvProteinFormAc)
Specified by:
setCvProteinFormAc in interface Protein

getFormOfAc

public java.lang.String getFormOfAc()
Specified by:
getFormOfAc in interface Protein

setFormOfAc

public void setFormOfAc(java.lang.String ac)
Specified by:
setFormOfAc in interface Protein

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface Protein
Overrides:
equals in class InteractorProxy

hashCode

public int hashCode()
Specified by:
hashCode in interface Protein
Overrides:
hashCode in class InteractorProxy


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