public class ModificationCollection extends Object implements Serializable, UnimodObject
Java class for modifications element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="modifications"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.unimod.org/xmlns/schema/unimod_2}mod" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType> </element>
Modifier and Type | Field and Description |
---|---|
protected List<UnimodModification> |
mod |
Constructor and Description |
---|
ModificationCollection() |
Modifier and Type | Method and Description |
---|---|
List<UnimodModification> |
getListbyMassSpecificity(String specificity,
double mass) |
List<UnimodModification> |
getMod()
Gets the value of the mod property.
|
List<UnimodModification> |
getModbyAvgMass(double mass) |
UnimodModification |
getModbyId(int id) |
List<UnimodModification> |
getModListbySpecificity(String specificity) |
protected List<UnimodModification> mod
public List<UnimodModification> getMod()
set
method for the mod property.
For example, to add a new item, do as follows:
getMod().add(newItem);Objects of the following type(s) are allowed in the list
UnimodModification
public List<UnimodModification> getModbyAvgMass(double mass)
public UnimodModification getModbyId(int id)
public List<UnimodModification> getModListbySpecificity(String specificity)
public List<UnimodModification> getListbyMassSpecificity(String specificity, double mass)
Copyright © 2015. All Rights Reserved.