public class Entry extends Object implements Serializable, IDataObject
Java class for entryType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="entryType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<all>
<element name="name">
<complexType>
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>string">
<attribute name="boost">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}float">
<minInclusive value="1"/>
<maxInclusive value="3"/>
</restriction>
</simpleType>
</attribute>
</extension>
</simpleContent>
</complexType>
</element>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="authors" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="keywords" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="dates" type="{}datesType"/>
<element name="cross_references" type="{}cross_referencesType" minOccurs="0"/>
<element name="additional_fields" type="{}additional_fieldsType"/>
</all>
<attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="acc" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
Entry.Name
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
acc |
protected AdditionalFields |
additionalFields |
protected String |
authors |
protected CrossReferences |
crossReferences |
protected DatesType |
dates |
protected String |
description |
protected String |
id |
protected String |
keywords |
protected Entry.Name |
name |
| Constructor and Description |
|---|
Entry() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAdditionalField(String name,
String value) |
void |
addCrossReferenceValue(String key,
Set<String> values)
Add a new cross-reference key/value to the corss-references list
|
void |
addCrossReferenceValue(String key,
String value)
Add a new cross-reference key/value to the corss-references list
|
void |
addDate(Date date) |
void |
addDate(String type,
String value) |
String |
getAcc()
Gets the value of the acc property.
|
AdditionalFields |
getAdditionalFields()
Gets the value of the additionalFields property.
|
String |
getAdditionalFieldValue(String key) |
List<String> |
getAdditionalFieldValues(String key)
Return of a key all the values in the Entry fot the given key
|
String |
getAuthors()
Gets the value of the authors property.
|
List<String> |
getCrossReferenceFieldValue(String key)
Return a list of values for specific cross-reference database
|
CrossReferences |
getCrossReferences()
Gets the value of the crossReferences property.
|
DatesType |
getDates()
Gets the value of the dates property.
|
String |
getDescription()
Gets the value of the description property.
|
String |
getId()
Gets the value of the id property.
|
String |
getKeywords()
Gets the value of the keywords property.
|
Entry.Name |
getName()
Gets the value of the name property.
|
String |
getRepository() |
void |
removeCrossReferences(String key) |
void |
setAcc(String value)
Sets the value of the acc property.
|
void |
setAdditionalFields(AdditionalFields value)
Sets the value of the additionalFields property.
|
void |
setAuthors(String value)
Sets the value of the authors property.
|
void |
setCrossReferences(CrossReferences value)
Sets the value of the crossReferences property.
|
void |
setCrossReferences(List<Reference> references) |
void |
setDates(DatesType value)
Sets the value of the dates property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setKeywords(String value)
Sets the value of the keywords property.
|
void |
setName(Entry.Name value)
Sets the value of the name property.
|
void |
setName(String name) |
String |
toString() |
protected Entry.Name name
protected String description
protected String authors
protected String keywords
protected DatesType dates
protected CrossReferences crossReferences
protected AdditionalFields additionalFields
protected String id
protected String acc
public Entry.Name getName()
Entry.Namepublic void setName(Entry.Name value)
value - allowed object is
Entry.Namepublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic String getAuthors()
Stringpublic void setAuthors(String value)
value - allowed object is
Stringpublic String getKeywords()
Stringpublic void setKeywords(String value)
value - allowed object is
Stringpublic DatesType getDates()
DatesTypepublic void setDates(DatesType value)
value - allowed object is
DatesTypepublic CrossReferences getCrossReferences()
CrossReferencespublic void setCrossReferences(CrossReferences value)
value - allowed object is
CrossReferencespublic AdditionalFields getAdditionalFields()
AdditionalFieldspublic void setAdditionalFields(AdditionalFields value)
value - allowed object is
AdditionalFieldspublic void setId(String value)
value - allowed object is
Stringpublic String getAcc()
Stringpublic void setAcc(String value)
value - allowed object is
Stringpublic List<String> getAdditionalFieldValues(String key)
key - the key of the Fieldpublic List<String> getCrossReferenceFieldValue(String key)
key - the cross-reference databasepublic void addCrossReferenceValue(String key, String value)
key - the key of the corss-reference: for example pubmedvalue - the values of the cross-reference for example a pubmedIDpublic void addCrossReferenceValue(String key, Set<String> values)
key - the key of the corss-reference: for example pubmedvalues - the values of the cross-reference for example a pubmedIDpublic void removeCrossReferences(String key)
public void addDate(Date date)
public void setName(String name)
public String getRepository()
Copyright © 2019. All Rights Reserved.