uk.ac.ebi.intact.model
Class Alias
java.lang.Object
|
+--uk.ac.ebi.intact.model.IntactObjectImpl
|
+--uk.ac.ebi.intact.model.BasicObjectImpl
|
+--uk.ac.ebi.intact.model.Alias
- All Implemented Interfaces:
- BasicObject, IntactObject, java.io.Serializable
- public class Alias
- extends BasicObjectImpl
An alternative name for the object.
Currently, the name of the Alias is set to lowercase.
- Version:
- $Id: Alias.java,v 1.8 2004/02/20 10:39:12 skerrien Exp $
- Author:
- hhe, Samuel Kerrien (skerrien@ebi.ac.uk)
- See Also:
CvAliasType,
Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
cvAliasTypeAc
public java.lang.String cvAliasTypeAc
Alias
public Alias(Institution anOwner,
AnnotatedObject annotatedObject,
CvAliasType cvAliasType,
java.lang.String name)
- Create a new Alias for the given Annotated object
- Parameters:
anOwner - The institution owning this AliasannotatedObject - the object to which we'll add a new AliascvAliasType - the CvAliasType (may be null)name - the name of the alias (namy be null)- See Also:
CvAliasType,
AnnotatedObject
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getParentAc
public java.lang.String getParentAc()
setParentAc
public void setParentAc(java.lang.String parentAc)
getCvAliasType
public CvAliasType getCvAliasType()
setCvAliasType
public void setCvAliasType(CvAliasType cvAliasType)
equals
public boolean equals(java.lang.Object o)
- Equality for Aliases is currently based on equality for
CvAliasTypes and names.
- 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:
CvAliasType
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
toString
public java.lang.String toString()
- Specified by:
toString in interface BasicObject- Overrides:
toString in class BasicObjectImpl
IntAct Project - EMBL-EBI 2004 - intact-help@ebi.ac.uk