Class DocumentRef


  • public class DocumentRef
    extends java.lang.Object

    Java class for documentRef complex type.

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

     <complexType name="documentRef">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="id" type="{}nonNegativeLong"/>
             <element name="fields" type="{}nonNegativeLong" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<java.lang.Long> fields  
      protected long id  
    • Constructor Summary

      Constructors 
      Constructor Description
      DocumentRef()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.Long> getFields()
      Gets the value of the fields property.
      long getId()
      Gets the value of the id property.
      void setId​(long value)
      Sets the value of the id property.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • id

        protected long id
      • fields

        protected java.util.List<java.lang.Long> fields
    • Constructor Detail

      • DocumentRef

        public DocumentRef()
    • Method Detail

      • getId

        public long getId()
        Gets the value of the id property.
      • setId

        public void setId​(long value)
        Sets the value of the id property.
      • getFields

        public java.util.List<java.lang.Long> getFields()
        Gets the value of the fields 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 fields property.

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

            getFields().add(newItem);
         

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