public class UnimodModification extends Object implements Serializable, UnimodObject
Java class for mod element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="mod"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.unimod.org/xmlns/schema/unimod_2}specificity" maxOccurs="unbounded"/> <element ref="{http://www.unimod.org/xmlns/schema/unimod_2}delta"/> <choice> <element ref="{http://www.unimod.org/xmlns/schema/unimod_2}alt_name" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.unimod.org/xmlns/schema/unimod_2}Ignore" maxOccurs="unbounded" minOccurs="0"/> </choice> <element ref="{http://www.unimod.org/xmlns/schema/unimod_2}xref" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.unimod.org/xmlns/schema/unimod_2}misc_notes" minOccurs="0"/> </sequence> <attribute name="approved" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /> <attribute name="date_time_modified" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> <attribute name="date_time_posted" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> <attribute name="full_name" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> <attribute name="group_of_poster" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> <attribute name="record_id" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /> <attribute name="title" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> <attribute name="username_of_poster" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" /> </restriction> </complexContent> </complexType> </element>
Modifier and Type | Field and Description |
---|---|
protected List<Serializable> |
altNameOrIgnore |
protected BigInteger |
approved |
protected String |
dateTimeModified |
protected String |
dateTimePosted |
protected Delta |
delta |
protected String |
fullName |
protected String |
groupOfPoster |
protected String |
miscNotes |
protected BigInteger |
recordId |
protected List<Specificity> |
specificity |
protected String |
title |
protected String |
usernameOfPoster |
protected List<Reference> |
xref |
Constructor and Description |
---|
UnimodModification() |
Modifier and Type | Method and Description |
---|---|
boolean |
compareAvg(double mass) |
boolean |
compareId(int id) |
List<Serializable> |
getAltNameOrIgnore()
Gets the value of the altNameOrIgnore property.
|
BigInteger |
getApproved()
Gets the value of the approved property.
|
String |
getDateTimeModified()
Gets the value of the dateTimeModified property.
|
String |
getDateTimePosted()
Gets the value of the dateTimePosted property.
|
Delta |
getDelta()
Gets the value of the delta property.
|
String |
getFullName()
Gets the value of the fullName property.
|
String |
getGroupOfPoster()
Gets the value of the groupOfPoster property.
|
String |
getMiscNotes()
Gets the value of the miscNotes property.
|
BigInteger |
getRecordId()
Gets the value of the recordId property.
|
List<Specificity> |
getSpecificity()
Gets the value of the specificity property.
|
String |
getTitle()
Gets the value of the title property.
|
String |
getUsernameOfPoster()
Gets the value of the usernameOfPoster property.
|
List<Reference> |
getXref()
Gets the value of the xref property.
|
boolean |
isSpecificity(String specificity) |
void |
setApproved(BigInteger value)
Sets the value of the approved property.
|
void |
setDateTimeModified(String value)
Sets the value of the dateTimeModified property.
|
void |
setDateTimePosted(String value)
Sets the value of the dateTimePosted property.
|
void |
setDelta(Delta value)
Sets the value of the delta property.
|
void |
setFullName(String value)
Sets the value of the fullName property.
|
void |
setGroupOfPoster(String value)
Sets the value of the groupOfPoster property.
|
void |
setMiscNotes(String value)
Sets the value of the miscNotes property.
|
void |
setRecordId(BigInteger value)
Sets the value of the recordId property.
|
void |
setTitle(String value)
Sets the value of the title property.
|
void |
setUsernameOfPoster(String value)
Sets the value of the usernameOfPoster property.
|
protected List<Specificity> specificity
protected Delta delta
protected List<Serializable> altNameOrIgnore
protected String miscNotes
protected BigInteger approved
protected String dateTimeModified
protected String dateTimePosted
protected String fullName
protected String groupOfPoster
protected BigInteger recordId
protected String title
protected String usernameOfPoster
public List<Specificity> getSpecificity()
set
method for the specificity property.
For example, to add a new item, do as follows:
getSpecificity().add(newItem);Objects of the following type(s) are allowed in the list
Specificity
public Delta getDelta()
Delta
public void setDelta(Delta value)
value
- allowed object is
Delta
public List<Serializable> getAltNameOrIgnore()
set
method for the altNameOrIgnore property.
For example, to add a new item, do as follows:
getAltNameOrIgnore().add(newItem);Objects of the following type(s) are allowed in the list
Ignore
String
public List<Reference> getXref()
set
method for the xref property.
For example, to add a new item, do as follows:
getXref().add(newItem);Objects of the following type(s) are allowed in the list
Reference
public String getMiscNotes()
String
public void setMiscNotes(String value)
value
- allowed object is
String
public BigInteger getApproved()
BigInteger
public void setApproved(BigInteger value)
value
- allowed object is
BigInteger
public String getDateTimeModified()
String
public void setDateTimeModified(String value)
value
- allowed object is
String
public String getDateTimePosted()
String
public void setDateTimePosted(String value)
value
- allowed object is
String
public String getFullName()
String
public void setFullName(String value)
value
- allowed object is
String
public String getGroupOfPoster()
String
public void setGroupOfPoster(String value)
value
- allowed object is
String
public BigInteger getRecordId()
BigInteger
public void setRecordId(BigInteger value)
value
- allowed object is
BigInteger
public String getTitle()
String
public void setTitle(String value)
value
- allowed object is
String
public String getUsernameOfPoster()
String
public void setUsernameOfPoster(String value)
value
- allowed object is
String
public boolean compareAvg(double mass)
public boolean compareId(int id)
public boolean isSpecificity(String specificity)
Copyright © 2015. All Rights Reserved.