uk.ac.ebi.intact.model
Class CvObject

java.lang.Object
  |
  +--uk.ac.ebi.intact.model.IntactObjectImpl
        |
        +--uk.ac.ebi.intact.model.BasicObjectImpl
              |
              +--uk.ac.ebi.intact.model.AnnotatedObjectImpl
                    |
                    +--uk.ac.ebi.intact.model.CvObject
All Implemented Interfaces:
AnnotatedObject, BasicObject, IntactObject, java.io.Serializable
Direct Known Subclasses:
CvAliasType, CvCellCycle, CvCellType, CvCompartment, CvComponentRole, CvDagObject, CvDatabase, CvDevelopmentalStage, CvEvidenceType, CvFeatureIdentification, CvFeatureType, CvJournal, CvModificationType, CvProductRole, CvProteinForm, CvReferenceQualifier, CvTissue, CvTopic, CvXrefQualifier

public abstract class CvObject
extends AnnotatedObjectImpl

Represents a controlled vocabulary object. CvObject is derived from AnnotatedObject to allow to store annotation of the term within the object itself, thus allowing to build an integrated dictionary.

Version:
$Id: CvObject.java,v 1.9 2004/01/31 11:33:13 skerrien Exp $
Author:
Henning Hermjakob
See Also:
Serialized Form

Field Summary
 
Fields inherited from class uk.ac.ebi.intact.model.AnnotatedObjectImpl
annotations, curator, curatorAc, fullName, references, shortLabel, xrefs
 
Fields inherited from class uk.ac.ebi.intact.model.IntactObjectImpl
ac, NEW_LINE
 
Constructor Summary
protected CvObject()
          no-arg constructor provided for compatibility with subclasses that have no-arg constructors.
protected CvObject(Institution owner, java.lang.String shortLabel)
          Constructor for subclass use only.
 
Methods inherited from class uk.ac.ebi.intact.model.AnnotatedObjectImpl
addAlias, addAnnotation, addReference, addXref, equals, getAliases, getAnnotations, getCurator, getCuratorAc, getFullName, getReferences, getShortLabel, getXrefs, hashCode, removeAlias, removeAnnotation, removeReference, removeXref, setAliases, setAnnotation, setCurator, setCuratorAc, setFullName, setReferences, setShortLabel, setXrefs, toString, update, updateUniqueAnnotation
 
Methods inherited from class uk.ac.ebi.intact.model.BasicObjectImpl
addEvidence, getEvidences, getOwner, getOwnerAc, removeEvidence, setEvidences, setOwner, setOwnerAc
 
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.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

CvObject

protected CvObject()
no-arg constructor provided for compatibility with subclasses that have no-arg constructors.


CvObject

protected CvObject(Institution owner,
                   java.lang.String shortLabel)
Constructor for subclass use only. Ensures that CvObjects cannot be created without at least a shortLabel and an owner specified.

Parameters:
shortLabel - The memorable label to identify this CvObject
owner - The Institution which owns this CvObject
Throws:
java.lang.NullPointerException - thrown if either parameters are not specified


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