Class MCRSolrInputDocumentList

java.lang.Object
org.mycore.solr.index.document.jaxb.MCRSolrInputDocumentList

public class MCRSolrInputDocumentList extends Object

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 Details

  • Constructor Details

    • MCRSolrInputDocumentList

      public MCRSolrInputDocumentList()
  • Method Details

    • getDoc

      public List<MCRSolrInputDocument> 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

      public Integer getCommitWithin()
      Gets the value of the commitWithin property.
      Returns:
      possible object is Integer
    • setCommitWithin

      public void setCommitWithin(Integer value)
      Sets the value of the commitWithin property.
      Parameters:
      value - allowed object is Integer
    • isOverwrite

      public boolean isOverwrite()
      Gets the value of the overwrite property.
      Returns:
      possible object is Boolean
    • setOverwrite

      public void setOverwrite(Boolean value)
      Sets the value of the overwrite property.
      Parameters:
      value - allowed object is Boolean