Package psidev.psi.mi.jami.model
Interface Feature<P extends Entity,F extends Feature>
-
- All Known Subinterfaces:
ExtendedPsiXmlFeature<P,F>,ExtendedPsiXmlFeatureEvidence,FeatureEvidence,MitabFeature<P,F>,ModelledFeature
- All Known Implementing Classes:
AbstractFeature,AbstractFeatureRef,AbstractXmlFeature,AbstractXmlFeature,AbstractXmlFeature,CsvFeatureEvidence,DefaultFeature,DefaultFeatureEvidence,DefaultMitabFeature,DefaultModelledFeature,MitabFeatureEvidence,MitabModelledFeature,XmlFeature,XmlFeature,XmlFeature,XmlFeatureEvidence,XmlFeatureEvidence,XmlFeatureEvidence,XmlFeatureEvidenceWrapper,XmlFeatureEvidenceWrapper,XmlFeatureEvidenceWrapper,XmlFeatureWrapper,XmlFeatureWrapper,XmlFeatureWrapper,XmlModelledFeature,XmlModelledFeature,XmlModelledFeature
public interface Feature<P extends Entity,F extends Feature>Property of a participant that may interfere with the binding of a molecule.- Since:
23/11/12
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Field Summary
Fields Modifier and Type Field Description static StringALLOSTERIC_PTMConstantALLOSTERIC_PTM="allosteric post-translational modificat"{trunked}static StringALLOSTERIC_PTM_MIConstantALLOSTERIC_PTM_MI="MI:1175"static StringBINDING_SITEConstantBINDING_SITE="binding-associated region"static StringBINDING_SITE_MIConstantBINDING_SITE_MI="MI:0117"static StringBIOLOGICAL_FEATUREConstantBIOLOGICAL_FEATURE="biological feature"static StringBIOLOGICAL_FEATURE_MIConstantBIOLOGICAL_FEATURE_MI="MI:0252"static StringDECREASING_PTMConstantDECREASING_PTM="decreasing-ptm"static StringDECREASING_PTM_MIConstantDECREASING_PTM_MI="MI:1223"static StringDIRECT_BINDINGConstantDIRECT_BINDING="direct binding region"static StringDIRECT_BINDING_MIConstantDIRECT_BINDING_MI="MI:1125"static StringDISRUPTING_PTMConstantDISRUPTING_PTM="disrupting-ptm"static StringDISRUPTING_PTM_MIConstantDISRUPTING_PTM_MI="MI:1225"static StringEXPERIMENTAL_FEATUREConstantEXPERIMENTAL_FEATURE="experimental feature"static StringEXPERIMENTAL_FEATURE_MIConstantEXPERIMENTAL_FEATURE_MI="MI:0505"static StringINCREASING_PTMConstantINCREASING_PTM="increasing-ptm"static StringINCREASING_PTM_MIConstantINCREASING_PTM_MI="MI:1224"static StringMUTATIONConstantMUTATION="mutation"static StringMUTATION_MIConstantMUTATION_MI="MI:0118"static StringOBSERVED_PTMConstantOBSERVED_PTM="observed ptm"static StringOBSERVED_PTM_MIConstantOBSERVED_PTM_MI="MI:0925"static StringPREREQUISITE_PTMConstantPREREQUISITE_PTM="prerequisite-ptm"static StringPREREQUISITE_PTM_MIConstantPREREQUISITE_PTM_MI="MI:0638"static StringRESULTING_CLEAVAGEConstantRESULTING_CLEAVAGE="resulting-cleavage"static StringRESULTING_CLEAVAGE_MIConstantRESULTING_CLEAVAGE_MI="MI:1233"static StringRESULTING_PTMConstantRESULTING_PTM="resulting-ptm"static StringRESULTING_PTM_MIConstantRESULTING_PTM_MI="MI:0639"static StringSUFFICIENT_BINDINGConstantSUFFICIENT_BINDING="sufficient binding region"static StringSUFFICIENT_BINDING_MIConstantSUFFICIENT_BINDING_MI="MI:0442"static StringVARIANTConstantVARIANT="variant"static StringVARIANT_MIConstantVARIANT_MI="MI:1241"
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <A extends Alias>
Collection<A>getAliases()Collection of aliases for a feature.<A extends Annotation>
Collection<A>getAnnotations()Collection of annotations which describe the feature The set cannot be null.StringgetFullName()The full name that describes the feature.<X extends Xref>
Collection<X>getIdentifiers()Collection of External identifiers which describes this feature.StringgetInterpro()The interpro identifier if it exists, null otherwise.<T extends F>
Collection<T>getLinkedFeatures()The other features that can bind to this feature.PgetParticipant()The participant to which the feature is attached.<R extends Range>
Collection<R>getRanges()The ranges which locate the feature in the interactor sequence/structure.CvTermgetRole()The effect of this feature on the interaction where the feature has been reported or the interaction dependency between the interaction reporting this feature and this feature.StringgetShortName()The short name of a feature.CvTermgetType()The type for this feature.<X extends Xref>
Collection<X>getXrefs()Collection of cross references which give more information about the feature.voidsetFullName(String name)Sets the full name that describes the moleculevoidsetInterpro(String interpro)Sets the interpro identifier.voidsetParticipant(P participant)Sets the participant.voidsetParticipantAndAddFeature(P participant)Sets the participant and add this feature to its list of features.voidsetRole(CvTerm role)Sets the interaction effect/role for this feature.voidsetShortName(String name)Sets the short name of the featurevoidsetType(CvTerm type)Sets the feature type.
-
-
-
Field Detail
-
BIOLOGICAL_FEATURE
static final String BIOLOGICAL_FEATURE
ConstantBIOLOGICAL_FEATURE="biological feature"- See Also:
- Constant Field Values
-
BIOLOGICAL_FEATURE_MI
static final String BIOLOGICAL_FEATURE_MI
ConstantBIOLOGICAL_FEATURE_MI="MI:0252"- See Also:
- Constant Field Values
-
EXPERIMENTAL_FEATURE
static final String EXPERIMENTAL_FEATURE
ConstantEXPERIMENTAL_FEATURE="experimental feature"- See Also:
- Constant Field Values
-
EXPERIMENTAL_FEATURE_MI
static final String EXPERIMENTAL_FEATURE_MI
ConstantEXPERIMENTAL_FEATURE_MI="MI:0505"- See Also:
- Constant Field Values
-
MUTATION
static final String MUTATION
ConstantMUTATION="mutation"- See Also:
- Constant Field Values
-
MUTATION_MI
static final String MUTATION_MI
ConstantMUTATION_MI="MI:0118"- See Also:
- Constant Field Values
-
ALLOSTERIC_PTM
static final String ALLOSTERIC_PTM
ConstantALLOSTERIC_PTM="allosteric post-translational modificat"{trunked}- See Also:
- Constant Field Values
-
ALLOSTERIC_PTM_MI
static final String ALLOSTERIC_PTM_MI
ConstantALLOSTERIC_PTM_MI="MI:1175"- See Also:
- Constant Field Values
-
VARIANT
static final String VARIANT
ConstantVARIANT="variant"- See Also:
- Constant Field Values
-
VARIANT_MI
static final String VARIANT_MI
ConstantVARIANT_MI="MI:1241"- See Also:
- Constant Field Values
-
SUFFICIENT_BINDING
static final String SUFFICIENT_BINDING
ConstantSUFFICIENT_BINDING="sufficient binding region"- See Also:
- Constant Field Values
-
SUFFICIENT_BINDING_MI
static final String SUFFICIENT_BINDING_MI
ConstantSUFFICIENT_BINDING_MI="MI:0442"- See Also:
- Constant Field Values
-
DIRECT_BINDING
static final String DIRECT_BINDING
ConstantDIRECT_BINDING="direct binding region"- See Also:
- Constant Field Values
-
DIRECT_BINDING_MI
static final String DIRECT_BINDING_MI
ConstantDIRECT_BINDING_MI="MI:1125"- See Also:
- Constant Field Values
-
PREREQUISITE_PTM
static final String PREREQUISITE_PTM
ConstantPREREQUISITE_PTM="prerequisite-ptm"- See Also:
- Constant Field Values
-
PREREQUISITE_PTM_MI
static final String PREREQUISITE_PTM_MI
ConstantPREREQUISITE_PTM_MI="MI:0638"- See Also:
- Constant Field Values
-
DECREASING_PTM
static final String DECREASING_PTM
ConstantDECREASING_PTM="decreasing-ptm"- See Also:
- Constant Field Values
-
DECREASING_PTM_MI
static final String DECREASING_PTM_MI
ConstantDECREASING_PTM_MI="MI:1223"- See Also:
- Constant Field Values
-
DISRUPTING_PTM
static final String DISRUPTING_PTM
ConstantDISRUPTING_PTM="disrupting-ptm"- See Also:
- Constant Field Values
-
DISRUPTING_PTM_MI
static final String DISRUPTING_PTM_MI
ConstantDISRUPTING_PTM_MI="MI:1225"- See Also:
- Constant Field Values
-
INCREASING_PTM
static final String INCREASING_PTM
ConstantINCREASING_PTM="increasing-ptm"- See Also:
- Constant Field Values
-
INCREASING_PTM_MI
static final String INCREASING_PTM_MI
ConstantINCREASING_PTM_MI="MI:1224"- See Also:
- Constant Field Values
-
RESULTING_PTM
static final String RESULTING_PTM
ConstantRESULTING_PTM="resulting-ptm"- See Also:
- Constant Field Values
-
RESULTING_PTM_MI
static final String RESULTING_PTM_MI
ConstantRESULTING_PTM_MI="MI:0639"- See Also:
- Constant Field Values
-
RESULTING_CLEAVAGE
static final String RESULTING_CLEAVAGE
ConstantRESULTING_CLEAVAGE="resulting-cleavage"- See Also:
- Constant Field Values
-
RESULTING_CLEAVAGE_MI
static final String RESULTING_CLEAVAGE_MI
ConstantRESULTING_CLEAVAGE_MI="MI:1233"- See Also:
- Constant Field Values
-
BINDING_SITE
static final String BINDING_SITE
ConstantBINDING_SITE="binding-associated region"- See Also:
- Constant Field Values
-
BINDING_SITE_MI
static final String BINDING_SITE_MI
ConstantBINDING_SITE_MI="MI:0117"- See Also:
- Constant Field Values
-
OBSERVED_PTM
static final String OBSERVED_PTM
ConstantOBSERVED_PTM="observed ptm"- See Also:
- Constant Field Values
-
OBSERVED_PTM_MI
static final String OBSERVED_PTM_MI
ConstantOBSERVED_PTM_MI="MI:0925"- See Also:
- Constant Field Values
-
-
Method Detail
-
getShortName
String getShortName()
The short name of a feature. It can be null Ex: region, SH3 domains- Returns:
- the short name
-
setShortName
void setShortName(String name)
Sets the short name of the feature- Parameters:
name- : short name
-
getFullName
String getFullName()
The full name that describes the feature. It can be null. Ex: SWIB/MDM2 domain (IPR003121)- Returns:
- the full name
-
setFullName
void setFullName(String name)
Sets the full name that describes the molecule- Parameters:
name- : full name
-
getInterpro
String getInterpro()
The interpro identifier if it exists, null otherwise. It is a shortcut to the first interpro identifier in the list of identifiers.- Returns:
- the interpro identifier if it exists.
-
setInterpro
void setInterpro(String interpro)
Sets the interpro identifier. It will remove the old interpro identifier and add a new interpro identity Xref in the list of identifiers. If interpro is null, it will remove all existing interpro Xref in the list of identifiers.- Parameters:
interpro- : the new interpro identifier
-
getIdentifiers
<X extends Xref> Collection<X> getIdentifiers()
Collection of External identifiers which describes this feature. The Collection cannot be null and if the feature is not described in an external databases, the method should return an empty Collection. Ex: interpro:IPR003121- Type Parameters:
X- a X object- Returns:
- the identifier
-
getXrefs
<X extends Xref> Collection<X> getXrefs()
Collection of cross references which give more information about the feature. The set cannot be null. If the feature does not have any other xrefs, the method should return an empty Collection. Ex: GO xrefs to give information about process or function- Type Parameters:
X- a X object- Returns:
- the xrefs
-
getAnnotations
<A extends Annotation> Collection<A> getAnnotations()
Collection of annotations which describe the feature The set cannot be null. If the feature does not have any annotations, the method should return an empty Collection. Ex: observed ptm, cautions, comments, ...- Type Parameters:
A- an A object- Returns:
- the annotations
-
getType
CvTerm getType()
The type for this feature. It is a controlled vocabulary term and can be null. Ex: fluorophore, tag, mutation, ...- Returns:
- The feature type
-
setType
void setType(CvTerm type)
Sets the feature type.- Parameters:
type- : feature type
-
getRanges
<R extends Range> Collection<R> getRanges()
The ranges which locate the feature in the interactor sequence/structure. The collection cannot be null. If the feature does not have any ranges, the method should return an empty collection- Type Parameters:
R- a R object.- Returns:
- a collection of ranges
-
getRole
CvTerm getRole()
The effect of this feature on the interaction where the feature has been reported or the interaction dependency between the interaction reporting this feature and this feature. It can be null if the feature does not have any effects on the interaction or it is not relevant Ex: increasing interaction, decreasing interaction, disrupting interaction, etc. Ex: resulting-ptm,prerequisite-ptm ...- Returns:
- the effect of this feature on the interaction
-
setRole
void setRole(CvTerm role)
Sets the interaction effect/role for this feature.- Parameters:
role- : the feature role
-
getParticipant
P getParticipant()
The participant to which the feature is attached. It can be any entity (participant, participant pool, participant candidate, etc.) It can be null if the feature is not attached to any participants.- Returns:
- the participant
-
setParticipant
void setParticipant(P participant)
Sets the participant.- Parameters:
participant- : participant
-
setParticipantAndAddFeature
void setParticipantAndAddFeature(P participant)
Sets the participant and add this feature to its list of features. If participant is null, it will remove this feature from the previous participant attached to this feature- Parameters:
participant- : participant
-
getLinkedFeatures
<T extends F> Collection<T> getLinkedFeatures()
The other features that can bind to this feature. The collection cannot be null. If the feature does not bind with any other features, the method should return an empty collection- Type Parameters:
T- a T object.- Returns:
- the binding features
-
getAliases
<A extends Alias> Collection<A> getAliases()
Collection of aliases for a feature. The Collection cannot be null and if the experiment does not have any aliases, the method should return an empty Collection.- Type Parameters:
A- a A object.- Returns:
- the aliases
-
-