public class CompositionT extends Object
Java class for composition_t complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="composition_t">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="element" type="{http://www.unimod.org/xmlns/schema/unimod_2}elem_ref_t" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="composition" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="mono_mass" type="{http://www.w3.org/2001/XMLSchema}double" />
<attribute name="avge_mass" type="{http://www.w3.org/2001/XMLSchema}double" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Double |
avgeMass |
protected String |
composition |
protected List<ElemRefT> |
element |
protected Double |
monoMass |
| Constructor and Description |
|---|
CompositionT() |
| Modifier and Type | Method and Description |
|---|---|
Double |
getAvgeMass()
Gets the value of the avgeMass property.
|
String |
getComposition()
Gets the value of the composition property.
|
List<ElemRefT> |
getElement()
Gets the value of the element property.
|
Double |
getMonoMass()
Gets the value of the monoMass property.
|
void |
setAvgeMass(Double value)
Sets the value of the avgeMass property.
|
void |
setComposition(String value)
Sets the value of the composition property.
|
void |
setMonoMass(Double value)
Sets the value of the monoMass property.
|
protected String composition
protected Double monoMass
protected Double avgeMass
public List<ElemRefT> getElement()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a 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
ElemRefT
public String getComposition()
Stringpublic void setComposition(String value)
value - allowed object is
Stringpublic Double getMonoMass()
Doublepublic void setMonoMass(Double value)
value - allowed object is
Doublepublic Double getAvgeMass()
DoubleCopyright © 2016. All Rights Reserved.