public class ProteinXLink extends Molecule implements Cloneable
Constructor and Description |
---|
ProteinXLink(ProteinXLinkType inType,
Protein inDonorChain,
int inDonorPosition,
Protein inAcceptorChain,
int inAcceptorPosition) |
ProteinXLink(XMLNode inXML) |
Modifier and Type | Method and Description |
---|---|
ProteinXLink |
clone()
Returns an unlocked copy of the Molecule.
|
int |
compareTo(Object inObj) |
boolean |
equals(Object inObj) |
String |
getAcceptorChainId() |
int |
getAcceptorPosition() |
Double |
getAverageMass() |
ProteinXLinkChainLinkage |
getChainLinkage() |
String |
getDonorChainId() |
int |
getDonorPosition() |
Map<Element,Float> |
getElementalComposition()
Returns an unmodifiable copy of the elemental composition Map.
|
Double |
getMonoisotopicMass() |
Double |
getOrganicAverageMass() |
ProteinXLinkType |
getType() |
int |
hashCode() |
protected ProteinXLink |
setAcceptorChainId(String inValue) |
protected ProteinXLink |
setDonorChainId(String inValue) |
protected void |
setParentProtein(Protein inParentProtein)
Sets the protein container to which this x-link belongs.
|
String |
toString() |
XMLNode |
toXMLNode() |
protected void |
validate() |
add, add, addAtom, addAtoms, addAtoms, addAtoms, addElementalComposition, addElementalComposition, addElementalComposition, addKa, addKa, calculateMassFromElementalComposition, clearAttributes, clearCalculatedProperties, clearElementalComposition, formatMassString, getAtoms, getAttribute, getAttributeNames, getChemicalFormula, getChemicalFormulaWithSubscripts, getKas, getLastAtom, getPhysicalProperty, hasAttribute, hasAttributes, isLocked, lock, massesAreUserSet, name, remove, remove, removeAttribute, setAttribute, setAverageMass, setChemicalFormula, setElementalComposition, setMonoisotopicMass, setName, setOrganicAverageMass, setPhysicalProperty
public ProteinXLink(ProteinXLinkType inType, Protein inDonorChain, int inDonorPosition, Protein inAcceptorChain, int inAcceptorPosition)
public ProteinXLink(XMLNode inXML)
public ProteinXLink clone()
Molecule
public ProteinXLinkChainLinkage getChainLinkage()
public ProteinXLinkType getType()
public String getDonorChainId()
protected ProteinXLink setDonorChainId(String inValue)
public int getDonorPosition()
public String getAcceptorChainId()
protected ProteinXLink setAcceptorChainId(String inValue)
public int getAcceptorPosition()
public XMLNode toXMLNode()
toXMLNode
in interface HfgXMLSerializable
toXMLNode
in class Molecule
public Map<Element,Float> getElementalComposition()
getElementalComposition
in interface Matter
getElementalComposition
in class Molecule
public Double getMonoisotopicMass()
getMonoisotopicMass
in interface Matter
getMonoisotopicMass
in class Molecule
public Double getAverageMass()
getAverageMass
in interface Matter
getAverageMass
in class Molecule
public Double getOrganicAverageMass()
getOrganicAverageMass
in interface Matter
getOrganicAverageMass
in class Molecule
protected void setParentProtein(Protein inParentProtein)
inParentProtein
- the protein to which this x-link belongsprotected void validate()