Class XmlFeature
- java.lang.Object
-
- psidev.psi.mi.jami.xml.model.extension.xml254.AbstractXmlFeature<Entity,Feature>
-
- psidev.psi.mi.jami.xml.model.extension.xml254.XmlFeature
-
- All Implemented Interfaces:
com.sun.xml.bind.Locatable
,FileSourceContext
,Feature<Entity,Feature>
,ExtendedPsiXmlFeature<Entity,Feature>
public class XmlFeature extends AbstractXmlFeature<Entity,Feature>
Simple Xml implementation of a Feature- Since:
08/10/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class psidev.psi.mi.jami.xml.model.extension.xml254.AbstractXmlFeature
AbstractXmlFeature.JAXBAttributeWrapper, AbstractXmlFeature.JAXBRangeWrapper
-
-
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 XmlFeature()
Constructor for XmlFeature.XmlFeature(String shortName, String fullName)
Constructor for XmlFeature.XmlFeature(String shortName, String fullName, String interpro)
Constructor for XmlFeature.XmlFeature(String shortName, String fullName, CvTerm type)
Constructor for XmlFeature.XmlFeature(String shortName, String fullName, CvTerm type, String interpro)
Constructor for XmlFeature.XmlFeature(CvTerm type)
Constructor for XmlFeature.XmlFeature(CvTerm type, String interpro)
Constructor for XmlFeature.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileSourceLocator
getSourceLocator()
Getter for the fieldsourceLocator
.void
setJAXBAttributeWrapper(AbstractXmlFeature.JAXBAttributeWrapper jaxbAttributeWrapper)
setJAXBAttributeWrapper.void
setJAXBFeatureRole(XmlCvTerm role)
setJAXBFeatureRole.void
setJAXBId(int id)
setJAXBId.void
setJAXBNames(NamesContainer value)
Sets the value of the names property.void
setJAXBRangeWrapper(AbstractXmlFeature.JAXBRangeWrapper jaxbRangeWrapper)
setJAXBRangeWrapper.void
setJAXBType(XmlCvTerm type)
setJAXBType.void
setJAXBXref(FeatureXrefContainer value)
Sets the value of the xref property.-
Methods inherited from class psidev.psi.mi.jami.xml.model.extension.xml254.AbstractXmlFeature
getAliases, getAnnotations, getFullName, getId, getIdentifiers, getInterpro, getJAXBAttributeWrapper, getJAXBRangeWrapper, getLinkedFeatures, getParticipant, getRanges, getRole, getShortName, getType, getXrefs, initialiseAnnotationWrapper, initialiseLinkedFeatures, initialiseRangeWrapper, initialiseRole, setFullName, setId, setInterpro, setParticipant, setParticipantAndAddFeature, setRole, setShortName, setSourceLocator, setType, sourceLocation, toString
-
-
-
-
Constructor Detail
-
XmlFeature
public XmlFeature()
Constructor for XmlFeature.
-
XmlFeature
public XmlFeature(CvTerm type)
Constructor for XmlFeature.
- Parameters:
type
- aCvTerm
object.
-
XmlFeature
public XmlFeature(String shortName, String fullName, CvTerm type)
Constructor for XmlFeature.
-
XmlFeature
public XmlFeature(String shortName, String fullName, String interpro)
Constructor for XmlFeature.
-
-
Method Detail
-
setJAXBNames
public void setJAXBNames(NamesContainer value)
Sets the value of the names property.- Overrides:
setJAXBNames
in classAbstractXmlFeature<Entity,Feature>
- Parameters:
value
- allowed object isNamesContainer
-
setJAXBXref
public void setJAXBXref(FeatureXrefContainer value)
Sets the value of the xref property.- Overrides:
setJAXBXref
in classAbstractXmlFeature<Entity,Feature>
- Parameters:
value
- allowed object isFeatureXrefContainer
-
setJAXBType
public void setJAXBType(XmlCvTerm type)
setJAXBType.
- Overrides:
setJAXBType
in classAbstractXmlFeature<Entity,Feature>
- Parameters:
type
- aXmlCvTerm
object.
-
setJAXBAttributeWrapper
public void setJAXBAttributeWrapper(AbstractXmlFeature.JAXBAttributeWrapper jaxbAttributeWrapper)
setJAXBAttributeWrapper.
- Overrides:
setJAXBAttributeWrapper
in classAbstractXmlFeature<Entity,Feature>
- Parameters:
jaxbAttributeWrapper
- aAbstractXmlFeature.JAXBAttributeWrapper
object.
-
setJAXBRangeWrapper
public void setJAXBRangeWrapper(AbstractXmlFeature.JAXBRangeWrapper jaxbRangeWrapper)
setJAXBRangeWrapper.
- Overrides:
setJAXBRangeWrapper
in classAbstractXmlFeature<Entity,Feature>
- Parameters:
jaxbRangeWrapper
- aAbstractXmlFeature.JAXBRangeWrapper
object.
-
setJAXBId
public void setJAXBId(int id)
setJAXBId.
- Parameters:
id
- a int.
-
setJAXBFeatureRole
public void setJAXBFeatureRole(XmlCvTerm role)
setJAXBFeatureRole.
- Overrides:
setJAXBFeatureRole
in classAbstractXmlFeature<Entity,Feature>
- Parameters:
role
- aXmlCvTerm
object.
-
getSourceLocator
public FileSourceLocator getSourceLocator()
Getter for the field
sourceLocator
.- Specified by:
getSourceLocator
in interfaceFileSourceContext
- Overrides:
getSourceLocator
in classAbstractXmlFeature<Entity,Feature>
- Returns:
- a
FileSourceLocator
object.
-
-