public class PepNeutralLoss extends Object implements Serializable, UnimodObject
Java class for PepNeutralLoss element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="PepNeutralLoss"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.unimod.org/xmlns/schema/unimod_2}element" maxOccurs="unbounded"/> </sequence> <attribute name="avge_mass" use="required" type="{http://www.w3.org/2001/XMLSchema}decimal" /> <attribute name="composition" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> <attribute name="mono_mass" use="required" type="{http://www.w3.org/2001/XMLSchema}decimal" /> <attribute name="required" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /> </restriction> </complexContent> </complexType> </element>
Modifier and Type | Field and Description |
---|---|
protected BigDecimal |
avgeMass |
protected String |
composition |
protected List<AtomComposition> |
element |
protected BigDecimal |
monoMass |
protected boolean |
required |
Constructor and Description |
---|
PepNeutralLoss() |
Modifier and Type | Method and Description |
---|---|
BigDecimal |
getAvgeMass()
Gets the value of the avgeMass property.
|
String |
getComposition()
Gets the value of the composition property.
|
List<AtomComposition> |
getElement()
Gets the value of the element property.
|
BigDecimal |
getMonoMass()
Gets the value of the monoMass property.
|
boolean |
isRequired()
Gets the value of the required property.
|
void |
setAvgeMass(BigDecimal value)
Sets the value of the avgeMass property.
|
void |
setComposition(String value)
Sets the value of the composition property.
|
void |
setMonoMass(BigDecimal value)
Sets the value of the monoMass property.
|
void |
setRequired(boolean value)
Sets the value of the required property.
|
protected List<AtomComposition> element
protected BigDecimal avgeMass
protected String composition
protected BigDecimal monoMass
protected boolean required
public List<AtomComposition> getElement()
set
method for the element property.
For example, to add a new item, do as follows:
getElement().add(newItem);Objects of the following type(s) are allowed in the list
AtomComposition
public BigDecimal getAvgeMass()
BigDecimal
public void setAvgeMass(BigDecimal value)
value
- allowed object is
BigDecimal
public String getComposition()
String
public void setComposition(String value)
value
- allowed object is
String
public BigDecimal getMonoMass()
BigDecimal
public void setMonoMass(BigDecimal value)
value
- allowed object is
BigDecimal
public boolean isRequired()
public void setRequired(boolean value)
Copyright © 2015. All Rights Reserved.