uk.ac.ebi.intact.model.proxy
Class AnnotatedObjectProxy
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
- All Implemented Interfaces:
- AnnotatedObject, BasicObject, IntactObject, java.io.Serializable
- Direct Known Subclasses:
- InteractorProxy
- public class AnnotatedObjectProxy
- extends BasicObjectProxy
- implements AnnotatedObject
- Version:
- $Id: AnnotatedObjectProxy.java,v 1.2 2004/02/10 15:07:16 skerrien Exp $
- Author:
- Samuel Kerrien (skerrien@ebi.ac.uk)
- See Also:
- Serialized Form
| 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 |
AnnotatedObjectProxy
public AnnotatedObjectProxy()
AnnotatedObjectProxy
public AnnotatedObjectProxy(org.apache.ojb.broker.PBKey key,
org.apache.ojb.broker.Identity uniqueId)
- Parameters:
uniqueId - org.apache.ojb.broker.Identity
AnnotatedObjectProxy
public AnnotatedObjectProxy(java.lang.reflect.InvocationHandler handler)
getShortLabel
public java.lang.String getShortLabel()
- Implements AnnotatedObject's methods
- Specified by:
getShortLabel in interface AnnotatedObject
setShortLabel
public void setShortLabel(java.lang.String shortLabel)
- Specified by:
setShortLabel in interface AnnotatedObject
getFullName
public java.lang.String getFullName()
- Specified by:
getFullName in interface AnnotatedObject
setFullName
public void setFullName(java.lang.String fullName)
- Specified by:
setFullName in interface AnnotatedObject
setAnnotation
public void setAnnotation(java.util.Collection someAnnotation)
- Specified by:
setAnnotation in interface AnnotatedObject
getAnnotations
public java.util.Collection getAnnotations()
- Specified by:
getAnnotations in interface AnnotatedObject
addAnnotation
public void addAnnotation(Annotation annotation)
- Specified by:
addAnnotation in interface AnnotatedObject
removeAnnotation
public void removeAnnotation(Annotation annotation)
- Specified by:
removeAnnotation in interface AnnotatedObject
getCurator
public Person getCurator()
- Specified by:
getCurator in interface AnnotatedObject
setCurator
public void setCurator(Person person)
- Specified by:
setCurator in interface AnnotatedObject
setXrefs
public void setXrefs(java.util.Collection someXrefs)
- Specified by:
setXrefs in interface AnnotatedObject
getXrefs
public java.util.Collection getXrefs()
- Specified by:
getXrefs in interface AnnotatedObject
addXref
public void addXref(Xref aXref)
- Specified by:
addXref in interface AnnotatedObject
removeXref
public void removeXref(Xref xref)
- Specified by:
removeXref in interface AnnotatedObject
setAliases
public void setAliases(java.util.Collection someAliases)
- Specified by:
setAliases in interface AnnotatedObject
getAliases
public java.util.Collection getAliases()
- Specified by:
getAliases in interface AnnotatedObject
addAlias
public void addAlias(Alias alias)
- Specified by:
addAlias in interface AnnotatedObject
removeAlias
public void removeAlias(Alias alias)
- Specified by:
removeAlias in interface AnnotatedObject
setReferences
public void setReferences(java.util.Collection someReferences)
- Specified by:
setReferences in interface AnnotatedObject
getReferences
public java.util.Collection getReferences()
- Specified by:
getReferences in interface AnnotatedObject
addReference
public void addReference(Reference reference)
- Specified by:
addReference in interface AnnotatedObject
removeReference
public void removeReference(Reference reference)
- Specified by:
removeReference in interface AnnotatedObject
getCuratorAc
public java.lang.String getCuratorAc()
- Specified by:
getCuratorAc in interface AnnotatedObject
setCuratorAc
public void setCuratorAc(java.lang.String ac)
- Specified by:
setCuratorAc in interface AnnotatedObject
update
public AnnotatedObject update(IntactHelper helper)
throws IntactException
- Specified by:
update in interface AnnotatedObject
IntactException
updateUniqueAnnotation
public Annotation updateUniqueAnnotation(CvTopic topic,
java.lang.String description,
Institution owner)
- Specified by:
updateUniqueAnnotation in interface AnnotatedObject
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals in interface AnnotatedObject- Overrides:
equals in class BasicObjectProxy
hashCode
public int hashCode()
- Specified by:
hashCode in interface AnnotatedObject- Overrides:
hashCode in class BasicObjectProxy
IntAct Project - EMBL-EBI 2004 - intact-help@ebi.ac.uk