Package psidev.psi.mi.jami.tab.extension
Class DefaultMitabFeature
- java.lang.Object
-
- psidev.psi.mi.jami.model.impl.AbstractFeature<Entity,Feature>
-
- psidev.psi.mi.jami.model.impl.DefaultFeature
-
- psidev.psi.mi.jami.tab.extension.DefaultMitabFeature
-
- All Implemented Interfaces:
FileSourceContext
,Feature<Entity,Feature>
,MitabFeature<Entity,Feature>
public class DefaultMitabFeature extends DefaultFeature implements MitabFeature<Entity,Feature>, FileSourceContext
A DefaultMitabFeature is a feature in MITAB with some free text. It can be ModelledFeature of FeatureEvidence- Since:
07/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class psidev.psi.mi.jami.model.impl.AbstractFeature
AbstractFeature.FeatureIdentifierList
-
-
Field Summary
-
Fields inherited from interface psidev.psi.mi.jami.model.Feature
ALLOSTERIC_PTM, ALLOSTERIC_PTM_MI, BINDING_SITE, BINDING_SITE_MI, BIOLOGICAL_FEATURE, BIOLOGICAL_FEATURE_MI, DECREASING_PTM, DECREASING_PTM_MI, DIRECT_BINDING, DIRECT_BINDING_MI, DISRUPTING_PTM, DISRUPTING_PTM_MI, EXPERIMENTAL_FEATURE, EXPERIMENTAL_FEATURE_MI, INCREASING_PTM, INCREASING_PTM_MI, MUTATION, MUTATION_MI, OBSERVED_PTM, OBSERVED_PTM_MI, PREREQUISITE_PTM, PREREQUISITE_PTM_MI, RESULTING_CLEAVAGE, RESULTING_CLEAVAGE_MI, RESULTING_PTM, RESULTING_PTM_MI, SUFFICIENT_BINDING, SUFFICIENT_BINDING_MI, VARIANT, VARIANT_MI
-
-
Constructor Summary
Constructors Constructor Description DefaultMitabFeature()
Constructor for DefaultMitabFeature.DefaultMitabFeature(String type)
Constructor for DefaultMitabFeature.DefaultMitabFeature(CvTerm type)
Constructor for DefaultMitabFeature.DefaultMitabFeature(CvTerm type, String interpro)
Constructor for DefaultMitabFeature.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileSourceLocator
getSourceLocator()
Getter for the fieldsourceLocator
.String
getText()
Getter for the fieldtext
.void
setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locatorvoid
setText(String text)
setText.String
toString()
-
Methods inherited from class psidev.psi.mi.jami.model.impl.AbstractFeature
clearPropertiesLinkedToIdentifiers, getAliases, getAnnotations, getFullName, getIdentifiers, getInterpro, getLinkedFeatures, getParticipant, getRanges, getRole, getShortName, getType, getXrefs, initialiseAliases, initialiseAliasesWith, initialiseAnnotations, initialiseAnnotationsWith, initialiseIdentifiers, initialiseIdentifiersWith, initialiseLinkedFeatures, initialiseLinkedFeaturesWith, initialiseRanges, initialiseRangesWith, initialiseXrefs, initialiseXrefsWith, processAddedIdentifierEvent, processRemovedIdentifierEvent, setFullName, setInterpro, setParticipant, setParticipantAndAddFeature, setRole, setShortName, setType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface psidev.psi.mi.jami.model.Feature
getAliases, getAnnotations, getFullName, getIdentifiers, getInterpro, getLinkedFeatures, getParticipant, getRanges, getRole, getShortName, getType, getXrefs, setFullName, setInterpro, setParticipant, setParticipantAndAddFeature, setRole, setShortName, setType
-
-
-
-
Constructor Detail
-
DefaultMitabFeature
public DefaultMitabFeature()
Constructor for DefaultMitabFeature.
-
DefaultMitabFeature
public DefaultMitabFeature(CvTerm type)
Constructor for DefaultMitabFeature.
- Parameters:
type
- aCvTerm
object.
-
DefaultMitabFeature
public DefaultMitabFeature(String type)
Constructor for DefaultMitabFeature.
- Parameters:
type
- aString
object.
-
-
Method Detail
-
getText
public String getText()
Getter for the field
text
.- Specified by:
getText
in interfaceMitabFeature<Entity,Feature>
- Returns:
- a
String
object.
-
setText
public void setText(String text)
setText.
- Specified by:
setText
in interfaceMitabFeature<Entity,Feature>
- Parameters:
text
- aString
object.
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Getter for the field
sourceLocator
.- Specified by:
getSourceLocator
in interfaceFileSourceContext
- Returns:
- a
FileSourceLocator
object.
-
setSourceLocator
public void setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locator- Specified by:
setSourceLocator
in interfaceFileSourceContext
- Parameters:
sourceLocator
- : the file locator
-
toString
public String toString()
- Specified by:
toString
in interfaceFileSourceContext
- Overrides:
toString
in classAbstractFeature<Entity,Feature>
- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-