public class Delta extends Object implements Serializable, UnimodObject
Java class for delta element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="delta"> <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" /> </restriction> </complexContent> </complexType> </element>
Modifier and Type | Field and Description |
---|---|
protected BigDecimal |
avgeMass |
protected String |
composition |
protected List<AtomComposition> |
element |
protected BigDecimal |
monoMass |
Constructor and Description |
---|
Delta() |
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.
|
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.
|
protected List<AtomComposition> element
protected BigDecimal avgeMass
protected String composition
protected BigDecimal monoMass
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
Copyright © 2015. All Rights Reserved.