Class MCRSolrInputDocument

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

public class MCRSolrInputDocument extends Object

Java class for MCRSolrInputDocument complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="MCRSolrInputDocument">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice maxOccurs="unbounded" minOccurs="0">
         <element name="field" type="{}MCRSolrInputField"/>
         <element name="doc" type="{}MCRSolrInputDocument"/>
       </choice>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
       <attribute name="boost" type="{http://www.w3.org/2001/XMLSchema}decimal" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • MCRSolrInputDocument

      public MCRSolrInputDocument()
  • Method Details

    • getFieldOrDoc

      public List<Object> getFieldOrDoc()
      Gets the value of the fieldOrDoc 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 fieldOrDoc property.

      For example, to add a new item, do as follows:

          getFieldOrDoc().add(newItem);
       

      Objects of the following type(s) are allowed in the list MCRSolrInputField MCRSolrInputDocument

    • getId

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String