uk.ac.ebi.intact.model
Class BasicObjectImpl
java.lang.Object
|
+--uk.ac.ebi.intact.model.IntactObjectImpl
|
+--uk.ac.ebi.intact.model.BasicObjectImpl
- All Implemented Interfaces:
- BasicObject, IntactObject, java.io.Serializable
- Direct Known Subclasses:
- Alias, AnnotatedObjectImpl, Annotation, Component, Feature, IntactNode, Modification, Person, Product, Range, Reference, Xref
- public abstract class BasicObjectImpl
- extends IntactObjectImpl
- implements BasicObject
New class which factors out owner and evidences from IntactObject.
This allows objects which do not have an owner (eg: Institution)
to inherit from IntactObject.
- Version:
- $Id: BasicObjectImpl.java,v 1.1 2004/01/31 11:31:41 skerrien Exp $
- Author:
- intact team
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BasicObjectImpl
protected BasicObjectImpl()
- Protected constructor for use by subclasses
BasicObjectImpl
protected BasicObjectImpl(Institution owner)
setEvidences
public void setEvidences(java.util.Collection someEvidence)
- Specified by:
setEvidences in interface BasicObject
getEvidences
public java.util.Collection getEvidences()
- Specified by:
getEvidences in interface BasicObject
addEvidence
public void addEvidence(Evidence evidence)
- Specified by:
addEvidence in interface BasicObject
removeEvidence
public void removeEvidence(Evidence evidence)
- Specified by:
removeEvidence in interface BasicObject
getOwner
public Institution getOwner()
- Specified by:
getOwner in interface BasicObject
setOwner
public void setOwner(Institution institution)
- Specified by:
setOwner in interface BasicObject
getOwnerAc
public java.lang.String getOwnerAc()
- Specified by:
getOwnerAc in interface BasicObject
setOwnerAc
public void setOwnerAc(java.lang.String ac)
- Specified by:
setOwnerAc in interface BasicObject
toString
public java.lang.String toString()
- Specified by:
toString in interface BasicObject- Overrides:
toString in class IntactObjectImpl
IntAct Project - EMBL-EBI 2004 - intact-help@ebi.ac.uk