Package psidev.psi.mi.jami.tab.extension
Class MitabModelledFeature
- java.lang.Object
-
- psidev.psi.mi.jami.model.impl.AbstractFeature<ModelledEntity,ModelledFeature>
-
- psidev.psi.mi.jami.model.impl.DefaultModelledFeature
-
- psidev.psi.mi.jami.tab.extension.MitabModelledFeature
-
- All Implemented Interfaces:
FileSourceContext,Feature<ModelledEntity,ModelledFeature>,ModelledFeature,MitabFeature<ModelledEntity,ModelledFeature>
public class MitabModelledFeature extends DefaultModelledFeature implements MitabFeature<ModelledEntity,ModelledFeature>, FileSourceContext
Mitab extension of ModelledFeature- Since:
09/07/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 MitabModelledFeature()Constructor for MitabModelledFeature.MitabModelledFeature(String shortName, String fullName)Constructor for MitabModelledFeature.MitabModelledFeature(String shortName, String fullName, CvTerm type)Constructor for MitabModelledFeature.MitabModelledFeature(CvTerm type)Constructor for MitabModelledFeature.MitabModelledFeature(ModelledParticipant participant)Constructor for MitabModelledFeature.MitabModelledFeature(ModelledParticipant participant, String shortName, String fullName)Constructor for MitabModelledFeature.MitabModelledFeature(ModelledParticipant participant, String shortName, String fullName, CvTerm type)Constructor for MitabModelledFeature.MitabModelledFeature(ModelledParticipant participant, CvTerm type)Constructor for MitabModelledFeature.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileSourceLocatorgetSourceLocator()Getter for the fieldsourceLocator.StringgetText()Getter for the fieldtext.voidsetSourceLocator(FileSourceLocator sourceLocator)Sets the source locatorvoidsetText(String text)setText.StringtoString()-
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
-
MitabModelledFeature
public MitabModelledFeature(ModelledParticipant participant)
Constructor for MitabModelledFeature.
- Parameters:
participant- aModelledParticipantobject.
-
MitabModelledFeature
public MitabModelledFeature(ModelledParticipant participant, String shortName, String fullName)
Constructor for MitabModelledFeature.
- Parameters:
participant- aModelledParticipantobject.shortName- aStringobject.fullName- aStringobject.
-
MitabModelledFeature
public MitabModelledFeature(ModelledParticipant participant, CvTerm type)
Constructor for MitabModelledFeature.
- Parameters:
participant- aModelledParticipantobject.type- aCvTermobject.
-
MitabModelledFeature
public MitabModelledFeature(ModelledParticipant participant, String shortName, String fullName, CvTerm type)
Constructor for MitabModelledFeature.
- Parameters:
participant- aModelledParticipantobject.shortName- aStringobject.fullName- aStringobject.type- aCvTermobject.
-
MitabModelledFeature
public MitabModelledFeature()
Constructor for MitabModelledFeature.
-
MitabModelledFeature
public MitabModelledFeature(String shortName, String fullName)
Constructor for MitabModelledFeature.
-
MitabModelledFeature
public MitabModelledFeature(CvTerm type)
Constructor for MitabModelledFeature.
- Parameters:
type- aCvTermobject.
-
-
Method Detail
-
getText
public String getText()
Getter for the field
text.- Specified by:
getTextin interfaceMitabFeature<ModelledEntity,ModelledFeature>- Returns:
- a
Stringobject.
-
setText
public void setText(String text)
setText.
- Specified by:
setTextin interfaceMitabFeature<ModelledEntity,ModelledFeature>- Parameters:
text- aStringobject.
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Getter for the field
sourceLocator.- Specified by:
getSourceLocatorin interfaceFileSourceContext- Returns:
- a
FileSourceLocatorobject.
-
setSourceLocator
public void setSourceLocator(FileSourceLocator sourceLocator)
Sets the source locator- Specified by:
setSourceLocatorin interfaceFileSourceContext- Parameters:
sourceLocator- : the file locator
-
toString
public String toString()
- Specified by:
toStringin interfaceFileSourceContext- Overrides:
toStringin classAbstractFeature<ModelledEntity,ModelledFeature>- Returns:
- the file source context as a String. If the source locator is not null, it should give the source locator properties
-
-