org.biopax.paxtools.impl.level3
Class ModificationFeatureImpl

java.lang.Object
  extended by org.biopax.paxtools.impl.BioPAXElementImpl
      extended by org.biopax.paxtools.impl.level3.L3ElementImpl
          extended by org.biopax.paxtools.impl.level3.EntityFeatureImpl
              extended by org.biopax.paxtools.impl.level3.ModificationFeatureImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, BioPAXElement, EntityFeature, Level3Element, ModificationFeature, Observable, UtilityClass

@Entity
@Indexed
public class ModificationFeatureImpl
extends EntityFeatureImpl
implements ModificationFeature

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.biopax.paxtools.model.BioPAXElement
BioPAXElement.Key
 
Field Summary
 
Fields inherited from class org.biopax.paxtools.impl.BioPAXElementImpl
SEARCH_FIELD_AVAILABILITY, SEARCH_FIELD_COMMENT, SEARCH_FIELD_EC_NUMBER, SEARCH_FIELD_KEYWORD, SEARCH_FIELD_NAME, SEARCH_FIELD_SEQUENCE, SEARCH_FIELD_TERM, SEARCH_FIELD_XREF_DB, SEARCH_FIELD_XREF_ID, SEARCH_INDEX_NAME
 
Fields inherited from interface org.biopax.paxtools.model.BioPAXElement
UNKNOWN_DOUBLE, UNKNOWN_FLOAT, UNKNOWN_INT
 
Constructor Summary
ModificationFeatureImpl()
           
 
Method Summary
 int equivalenceCode()
          If two elements are equivalent, then their equivalence code should be the same.
 java.lang.Class<? extends ModificationFeature> getModelInterface()
          This method returns the actual model interface that a class implements.
 SequenceModificationVocabulary getModificationType()
           
protected  boolean semanticallyEquivalent(BioPAXElement element)
           
 void setModificationType(SequenceModificationVocabulary featureType)
           
 
Methods inherited from class org.biopax.paxtools.impl.level3.EntityFeatureImpl
addEvidence, addMemberFeature, atEquivalentLocation, getEntityFeatureOf, getEntityFeatureXOf, getEvidence, getFeatureLocation, getFeatureLocationType, getFeatureOf, getMemberFeature, getMemberFeatureOf, getNotFeatureOf, locationCode, removeEvidence, removeMemberFeature, setEntityFeatureOf, setEntityFeatureXOf, setEvidence, setFeatureLocation, setFeatureLocationType, setFeatureOf, setMemberFeature, setMemberFeatureOf, setNotFeatureOf
 
Methods inherited from class org.biopax.paxtools.impl.level3.L3ElementImpl
addComment, getComment, removeComment, setComment
 
Methods inherited from class org.biopax.paxtools.impl.BioPAXElementImpl
getAnnotations, getProxyId, getRDFId, getVersion, isEquivalent, setProxyId, setRDFId, setVersion, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.biopax.paxtools.model.level3.EntityFeature
addMemberFeature, atEquivalentLocation, getEntityFeatureOf, getFeatureLocation, getFeatureLocationType, getFeatureOf, getMemberFeature, getMemberFeatureOf, getNotFeatureOf, removeMemberFeature, setFeatureLocation, setFeatureLocationType
 
Methods inherited from interface org.biopax.paxtools.model.level3.Level3Element
addComment, getComment, removeComment
 
Methods inherited from interface org.biopax.paxtools.model.BioPAXElement
getAnnotations, getRDFId, isEquivalent
 
Methods inherited from interface org.biopax.paxtools.model.level3.Observable
addEvidence, getEvidence, removeEvidence
 

Constructor Detail

ModificationFeatureImpl

public ModificationFeatureImpl()
Method Detail

getModelInterface

public java.lang.Class<? extends ModificationFeature> getModelInterface()
Description copied from interface: BioPAXElement
This method returns the actual model interface that a class implements.

Specified by:
getModelInterface in interface BioPAXElement
Overrides:
getModelInterface in class EntityFeatureImpl
Returns:
an interface from org.biopax.paxtools.model package corresponding to a BioPAX class.

getModificationType

public SequenceModificationVocabulary getModificationType()
Specified by:
getModificationType in interface ModificationFeature
Returns:
Description and classification of the feature.

setModificationType

public void setModificationType(SequenceModificationVocabulary featureType)
Specified by:
setModificationType in interface ModificationFeature
Parameters:
featureType - Description and classification of the feature.

semanticallyEquivalent

protected boolean semanticallyEquivalent(BioPAXElement element)
Overrides:
semanticallyEquivalent in class EntityFeatureImpl

equivalenceCode

public int equivalenceCode()
Description copied from interface: BioPAXElement
If two elements are equivalent, then their equivalence code should be the same.

Specified by:
equivalenceCode in interface BioPAXElement
Overrides:
equivalenceCode in class EntityFeatureImpl
Returns:
an integer that is same across all equivalent entities.


Copyright © 2011 BioPAX. All Rights Reserved.