Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  //
  // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
  // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
  // Any modifications to this file will be lost upon recompilation of the source schema. 
  // Generated on: 2015.07.13 at 02:50:13 PM CEST 
  //
  
  
  package org.datacleaner.configuration.jaxb;
 
 import java.util.List;

Java class for jdbcDatastoreType complex type.

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

 <complexType name="jdbcDatastoreType">
   <complexContent>
     <extension base="{http://eobjects.org/analyzerbeans/configuration/1.0}abstractDatastoreType">
       <sequence>
         <choice>
           <sequence>
             <element name="url" type="{http://www.w3.org/2001/XMLSchema}string"/>
             <element name="driver" type="{http://www.w3.org/2001/XMLSchema}string"/>
             <element name="username" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="password" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="multiple-connections" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
           </sequence>
           <element name="datasource-jndi-url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         </choice>
         <element name="table-types" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="table-type" type="{http://eobjects.org/analyzerbeans/configuration/1.0}tableTypeEnum" maxOccurs="unbounded"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="catalog-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "jdbcDatastoreType", propOrder = {
     "url",
     "driver",
     "username",
     "password",
     "multipleConnections",
     "datasourceJndiUrl",
     "tableTypes",
     "catalogName"
 })
 public class JdbcDatastoreType
     extends AbstractDatastoreType
 {
 
     protected String url;
     protected String driver;
     protected String username;
     protected String password;
     @XmlElement(name = "multiple-connections", defaultValue = "true")
     protected Boolean multipleConnections;
     @XmlElement(name = "datasource-jndi-url")
     protected String datasourceJndiUrl;
     @XmlElement(name = "table-types")
     @XmlElement(name = "catalog-name")
     protected String catalogName;

    
Gets the value of the url property.

Returns:
possible object is
 
     public String getUrl() {
         return ;
     }

    
Sets the value of the url property.

Parameters:
value allowed object is
    public void setUrl(String value) {
        this. = value;
    }

    
Gets the value of the driver property.

Returns:
possible object is
    public String getDriver() {
        return ;
    }

    
Sets the value of the driver property.

Parameters:
value allowed object is
    public void setDriver(String value) {
        this. = value;
    }

    
Gets the value of the username property.

Returns:
possible object is
    public String getUsername() {
        return ;
    }

    
Sets the value of the username property.

Parameters:
value allowed object is
    public void setUsername(String value) {
        this. = value;
    }

    
Gets the value of the password property.

Returns:
possible object is
    public String getPassword() {
        return ;
    }

    
Sets the value of the password property.

Parameters:
value allowed object is
    public void setPassword(String value) {
        this. = value;
    }

    
Gets the value of the multipleConnections property.

Returns:
possible object is
    public Boolean isMultipleConnections() {
        return ;
    }

    
Sets the value of the multipleConnections property.

Parameters:
value allowed object is
    public void setMultipleConnections(Boolean value) {
        this. = value;
    }

    
Gets the value of the datasourceJndiUrl property.

Returns:
possible object is
    public String getDatasourceJndiUrl() {
        return ;
    }

    
Sets the value of the datasourceJndiUrl property.

Parameters:
value allowed object is
    public void setDatasourceJndiUrl(String value) {
        this. = value;
    }

    
Gets the value of the tableTypes property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the tableTypes property.

Parameters:
value allowed object is
    public void setTableTypes(JdbcDatastoreType.TableTypes value) {
        this. = value;
    }

    
Gets the value of the catalogName property.

Returns:
possible object is
    public String getCatalogName() {
        return ;
    }

    
Sets the value of the catalogName property.

Parameters:
value allowed object is
    public void setCatalogName(String value) {
        this. = value;
    }


    

Java class for anonymous complex type.

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="table-type" type="{http://eobjects.org/analyzerbeans/configuration/1.0}tableTypeEnum" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
    @XmlType(name = "", propOrder = {
        "tableType"
    })
    public static class TableTypes {
        @XmlElement(name = "table-type", required = true)
        @XmlSchemaType(name = "string")
        protected List<TableTypeEnumtableType;

        
Gets the value of the tableType 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 tableType property.

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

    getTableType().add(newItem);
 

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

        public List<TableTypeEnumgetTableType() {
            if ( == null) {
                 = new ArrayList<TableTypeEnum>();
            }
            return this.;
        }
    }
New to GrepCode? Check out our FAQ X