Class MapExport

  • Direct Known Subclasses:
    DatabaseConnection.Attributes, DatabaseConnection.ConnectionPoolingProperties, DatabaseConnection.ExtraOptions, DatabaseConnection.ExtraOptionsOrder, DatabaseType.DefaultOptions

    public class MapExport
    extends Object

    Java class for anonymous complex type.

    This class, to be used in the "Export" classes, supports the Map object from the original class.
    This exact code was being used in several places; to avoid duplication, it was extracted so that it can be reused.

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

     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="entry" maxOccurs="unbounded" minOccurs="0">
               <complexType>
                 <complexContent>
                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     <sequence>
                       <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                       <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                     </sequence>
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • MapExport

        public MapExport()
    • Method Detail

      • getEntry

        public List<MapExport.Entry> getEntry()
        Gets the value of the entry 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 entry property.

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

         getEntry().add( newItem );
         

        Objects of the following type(s) are allowed in the list MapExport.Entry