Class MCRSolrInputDocumentList
java.lang.Object
org.mycore.solr.index.document.jaxb.MCRSolrInputDocumentList
Java class for MCRSolrInputDocumentList complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MCRSolrInputDocumentList"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="doc" type="{}MCRSolrInputDocument" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="commitWithin" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="overwrite" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected Integer
protected List<MCRSolrInputDocument>
protected Boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the commitWithin property.getDoc()
Gets the value of the doc property.boolean
Gets the value of the overwrite property.void
setCommitWithin
(Integer value) Sets the value of the commitWithin property.void
setOverwrite
(Boolean value) Sets the value of the overwrite property.
-
Field Details
-
doc
-
commitWithin
-
overwrite
-
-
Constructor Details
-
MCRSolrInputDocumentList
public MCRSolrInputDocumentList()
-
-
Method Details
-
getDoc
Gets the value of the doc property.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 doc property.For example, to add a new item, do as follows:
getDoc().add(newItem);
Objects of the following type(s) are allowed in the list
MCRSolrInputDocument
-
getCommitWithin
Gets the value of the commitWithin property.- Returns:
- possible object is
Integer
-
setCommitWithin
Sets the value of the commitWithin property.- Parameters:
value
- allowed object isInteger
-
isOverwrite
public boolean isOverwrite()Gets the value of the overwrite property.- Returns:
- possible object is
Boolean
-
setOverwrite
Sets the value of the overwrite property.- Parameters:
value
- allowed object isBoolean
-