Class OntologyTermWrapper
- java.lang.Object
-
- psidev.psi.mi.jami.bridges.ontologymanager.impl.OntologyTermWrapper
-
- All Implemented Interfaces:
MIOntologyTermI
,psidev.psi.tools.ontology_manager.interfaces.OntologyTermI
public class OntologyTermWrapper extends Object implements MIOntologyTermI
Ontology term for PSI-MI JAMI- Since:
01/11/11
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Field Summary
Fields Modifier and Type Field Description static Pattern
ECO_REGEXP
ConstantECO_REGEXP
static Pattern
MI_REGEXP
ConstantMI_REGEXP
static Pattern
MOD_REGEXP
ConstantMOD_REGEXP
-
Constructor Summary
Constructors Constructor Description OntologyTermWrapper(OntologyTerm cv)
Constructor for OntologyTermWrapper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
OntologyTerm
getDelegate()
Getter for the fielddelegate
.Collection<String>
getNameSynonyms()
getNameSynonyms.String
getObsoleteMessage()
Getter for the fieldobsoleteMessage
.Set<String>
getPossibleTermsToRemapTo()
Getter for the fieldpossibleTermsToRemapTo
.String
getPreferredName()
getPreferredName.String
getRemappedTerm()
Getter for the fieldremappedTerm
.String
getTermAccession()
getTermAccession.int
hashCode()
void
setNameSynonyms(Collection<String> nameSynonyms)
void
setObsoleteMessage(String obsoleteMessage)
Setter for the fieldobsoleteMessage
.void
setPreferredName(String preferredName)
void
setRemappedTerm(String remappedTerm)
Setter for the fieldremappedTerm
.void
setTermAccession(String accession)
-
-
-
Constructor Detail
-
OntologyTermWrapper
public OntologyTermWrapper(OntologyTerm cv)
Constructor for OntologyTermWrapper.
- Parameters:
cv
- aOntologyTerm
object.
-
-
Method Detail
-
getTermAccession
public String getTermAccession()
getTermAccession.
- Specified by:
getTermAccession
in interfacepsidev.psi.tools.ontology_manager.interfaces.OntologyTermI
- Returns:
- a
String
object.
-
getPreferredName
public String getPreferredName()
getPreferredName.
- Specified by:
getPreferredName
in interfacepsidev.psi.tools.ontology_manager.interfaces.OntologyTermI
- Returns:
- a
String
object.
-
setTermAccession
public void setTermAccession(String accession)
- Specified by:
setTermAccession
in interfacepsidev.psi.tools.ontology_manager.interfaces.OntologyTermI
-
setPreferredName
public void setPreferredName(String preferredName)
- Specified by:
setPreferredName
in interfacepsidev.psi.tools.ontology_manager.interfaces.OntologyTermI
-
getNameSynonyms
public Collection<String> getNameSynonyms()
getNameSynonyms.
- Specified by:
getNameSynonyms
in interfacepsidev.psi.tools.ontology_manager.interfaces.OntologyTermI
- Returns:
- a
Collection
object.
-
setNameSynonyms
public void setNameSynonyms(Collection<String> nameSynonyms)
- Specified by:
setNameSynonyms
in interfacepsidev.psi.tools.ontology_manager.interfaces.OntologyTermI
-
getObsoleteMessage
public String getObsoleteMessage()
Getter for the field
obsoleteMessage
.- Specified by:
getObsoleteMessage
in interfaceMIOntologyTermI
- Returns:
- a
String
object.
-
getRemappedTerm
public String getRemappedTerm()
Getter for the field
remappedTerm
.- Specified by:
getRemappedTerm
in interfaceMIOntologyTermI
- Returns:
- a
String
object.
-
getPossibleTermsToRemapTo
public Set<String> getPossibleTermsToRemapTo()
Getter for the field
possibleTermsToRemapTo
.- Specified by:
getPossibleTermsToRemapTo
in interfaceMIOntologyTermI
- Returns:
- a
Set
object.
-
getDelegate
public OntologyTerm getDelegate()
Getter for the field
delegate
.- Specified by:
getDelegate
in interfaceMIOntologyTermI
- Returns:
- a
OntologyTerm
object.
-
setRemappedTerm
public void setRemappedTerm(String remappedTerm)
Setter for the field
remappedTerm
.- Parameters:
remappedTerm
- aString
object.
-
setObsoleteMessage
public void setObsoleteMessage(String obsoleteMessage)
Setter for the field
obsoleteMessage
.- Parameters:
obsoleteMessage
- aString
object.
-
-