uk.ac.ebi.intact.model
Class Reference
java.lang.Object
|
+--uk.ac.ebi.intact.model.IntactObjectImpl
|
+--uk.ac.ebi.intact.model.BasicObjectImpl
|
+--uk.ac.ebi.intact.model.Reference
- All Implemented Interfaces:
- BasicObject, IntactObject, java.io.Serializable
- Direct Known Subclasses:
- JournalRef, SubmissionRef
- public class Reference
- extends BasicObjectImpl
TODO COMMENTS
- Version:
- $Id: Reference.java,v 1.5 2004/01/31 11:33:13 skerrien Exp $
- Author:
- hhe
- See Also:
- Serialized Form
|
Constructor Summary |
protected |
Reference()
This constructor exists only for the benefit of subclasses so that
they can call the BasicObject no-arg constructor. |
|
Reference(Institution owner,
java.lang.String title,
java.lang.String authors)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
submissionRefAc
protected java.lang.String submissionRefAc
xrefAc
protected java.lang.String xrefAc
Reference
protected Reference()
- This constructor exists only for the benefit of subclasses so that
they can call the BasicObject no-arg constructor. This is an expcetion to
the general rule as this is the only concrete class which itself is already
subclassed.
Reference
public Reference(Institution owner,
java.lang.String title,
java.lang.String authors)
getTitle
public java.lang.String getTitle()
setTitle
public void setTitle(java.lang.String title)
getAuthors
public java.lang.String getAuthors()
setAuthors
public void setAuthors(java.lang.String authors)
getAnnotatedObjects
public java.util.Collection getAnnotatedObjects()
addAnnotatedObject
public void addAnnotatedObject(AnnotatedObject annotatedObject)
removeAnnotatedObject
public void removeAnnotatedObject(AnnotatedObject annotatedObject)
getSubmissionRef
public SubmissionRef getSubmissionRef()
setSubmissionRef
public void setSubmissionRef(SubmissionRef submissionRef)
equals
public boolean equals(java.lang.Object o)
- Equality for References is currently based on equality for
author, title and
Xrefs.
- Overrides:
equals in class java.lang.Object
- Parameters:
o - The object to check
- Returns:
- true if the parameter equals this object, false otherwise
- See Also:
Xref
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
getSubmissionRefAc
public java.lang.String getSubmissionRefAc()
setSubmissionRefAc
public void setSubmissionRefAc(java.lang.String ac)
getXrefAc
public java.lang.String getXrefAc()
setXrefAc
public void setXrefAc(java.lang.String ac)
IntAct Project - EMBL-EBI 2004 - intact-help@ebi.ac.uk