Package org.biopax.paxtools.impl.level3
Class BindingFeatureImpl
java.lang.Object
org.biopax.paxtools.impl.BioPAXElementImpl
org.biopax.paxtools.impl.level3.L3ElementImpl
org.biopax.paxtools.impl.level3.EntityFeatureImpl
org.biopax.paxtools.impl.level3.BindingFeatureImpl
- All Implemented Interfaces:
Serializable,Cloneable,BioPAXElement,BindingFeature,EntityFeature,Level3Element,Observable,UtilityClass
- Direct Known Subclasses:
CovalentBindingFeatureImpl
- See Also:
-
Field Summary
Fields inherited from interface org.biopax.paxtools.model.BioPAXElement
UNKNOWN_DOUBLE, UNKNOWN_FLOAT, UNKNOWN_INT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintIf two elements are equivalent, then their equivalence code should be the same.A binding feature represents a "half" of the bond between two entities.IntraMolecular flag is true iff this binding feature represents a bond within the same molecule, for example a disulfide bond within the same molecule.Class<? extends BindingFeature>This method returns the actual model interface that a class implements.protected booleansemanticallyEquivalent(BioPAXElement element) voidsetBindsTo(BindingFeature bindsTo) This method will set the paired binding feature that binds to this feature.voidsetIntraMolecular(Boolean intramolecular) IntraMolecular flag is true iff this binding feature represents a bond within the same molecule, for example a disulfide bond within the same molecule.Methods inherited from class org.biopax.paxtools.impl.level3.EntityFeatureImpl
addEvidence, addMemberFeature, atEquivalentLocation, getEntityFeatureOf, getEvidence, getFeatureLocation, getFeatureLocationType, getFeatureOf, getMemberFeature, getMemberFeatureOf, getNotFeatureOf, locationCode, removeEvidence, removeMemberFeature, setEntityFeatureOf, setFeatureLocation, setFeatureLocationTypeMethods inherited from class org.biopax.paxtools.impl.level3.L3ElementImpl
addComment, getComment, removeComment, setCommentMethods inherited from class org.biopax.paxtools.impl.BioPAXElementImpl
equals, getAnnotations, getUri, hashCode, isEquivalent, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.biopax.paxtools.model.BioPAXElement
getAnnotations, getUri, isEquivalentMethods inherited from interface org.biopax.paxtools.model.level3.EntityFeature
addMemberFeature, atEquivalentLocation, getEntityFeatureOf, getFeatureLocation, getFeatureLocationType, getFeatureOf, getMemberFeature, getMemberFeatureOf, getNotFeatureOf, removeMemberFeature, setFeatureLocation, setFeatureLocationTypeMethods inherited from interface org.biopax.paxtools.model.level3.Level3Element
addComment, getComment, removeCommentMethods inherited from interface org.biopax.paxtools.model.level3.Observable
addEvidence, getEvidence, removeEvidence
-
Constructor Details
-
BindingFeatureImpl
public BindingFeatureImpl()
-
-
Method Details
-
getModelInterface
Description copied from interface:BioPAXElementThis method returns the actual model interface that a class implements.- Specified by:
getModelInterfacein interfaceBioPAXElement- Overrides:
getModelInterfacein classEntityFeatureImpl- Returns:
- an interface from
org.biopax.paxtools.modelpackage corresponding to a BioPAX class.
-
getBindsTo
Description copied from interface:BindingFeatureA binding feature represents a "half" of the bond between two entities. This property points to another binding feature which represents the other half. The bond can be covalent or non-covalent.- Specified by:
getBindsToin interfaceBindingFeature- Returns:
- paired binding feature.
-
setBindsTo
This method will set the paired binding feature that binds to this feature. This method will preserve the symmetric bidirectional semantics. If not-null old feature's bindsTo will be set to null and if not null new feature's binds to will set to this- Specified by:
setBindsToin interfaceBindingFeature- Parameters:
bindsTo- paired binding feature.
-
getIntraMolecular
Description copied from interface:BindingFeatureIntraMolecular flag is true iff this binding feature represents a bond within the same molecule, for example a disulfide bond within the same molecule. A true value true implies that this.isEntityFeatureOf() == this.getBindsTo.isEntityFeatureOf() although the inverse is not true e.g a chain of actin proteins.- Specified by:
getIntraMolecularin interfaceBindingFeature- Returns:
- true iff this binding feature represents a bond within the same molecule.
-
setIntraMolecular
Description copied from interface:BindingFeatureIntraMolecular flag is true iff this binding feature represents a bond within the same molecule, for example a disulfide bond within the same molecule. A true value implies that this.isEntityFeatureOf() == this.getBindsTo.isEntityFeatureOf() although the inverse is not true e.g a chain of actin proteins.- Specified by:
setIntraMolecularin interfaceBindingFeature- Parameters:
intramolecular- whether if this binding feature represents a bond within the same molecule.
-
semanticallyEquivalent
- Overrides:
semanticallyEquivalentin classEntityFeatureImpl
-
equivalenceCode
public int equivalenceCode()Description copied from interface:BioPAXElementIf two elements are equivalent, then their equivalence code should be the same.- Specified by:
equivalenceCodein interfaceBioPAXElement- Overrides:
equivalenceCodein classEntityFeatureImpl- Returns:
- an integer that is same across all equivalent entities.
-