org.plasma.runtime.DataAccessService Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.10.06 at 02:20:30 PM MST
//
package org.plasma.runtime;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for DataAccessService complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DataAccessService">
* <complexContent>
* <extension base="{http://www.plasma.org/runtime}Configuration">
* <sequence>
* <element name="DataAccessProvider" type="{http://www.plasma.org/runtime}DataAccessProvider" maxOccurs="unbounded"/>
* </sequence>
* <attribute name="dataStoreType" use="required" type="{http://www.plasma.org/runtime}DataStoreType" />
* <attribute name="checkQueryResultsSize" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DataAccessService", propOrder = {
"dataAccessProviders"
})
@XmlRootElement(name = "DataAccessService")
public class DataAccessService
extends Configuration
{
@XmlElement(name = "DataAccessProvider", required = true)
protected List dataAccessProviders;
@XmlAttribute(name = "dataStoreType", required = true)
protected DataStoreType dataStoreType;
@XmlAttribute(name = "checkQueryResultsSize")
protected Boolean checkQueryResultsSize;
/**
* Gets the value of the dataAccessProviders 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 dataAccessProviders property.
*
*
* For example, to add a new item, do as follows:
*
* getDataAccessProviders().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DataAccessProvider }
*
*
*/
public List getDataAccessProviders() {
if (dataAccessProviders == null) {
dataAccessProviders = new ArrayList();
}
return this.dataAccessProviders;
}
/**
* Gets the value of the dataStoreType property.
*
* @return
* possible object is
* {@link DataStoreType }
*
*/
public DataStoreType getDataStoreType() {
return dataStoreType;
}
/**
* Sets the value of the dataStoreType property.
*
* @param value
* allowed object is
* {@link DataStoreType }
*
*/
public void setDataStoreType(DataStoreType value) {
this.dataStoreType = value;
}
/**
* Gets the value of the checkQueryResultsSize property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isCheckQueryResultsSize() {
if (checkQueryResultsSize == null) {
return true;
} else {
return checkQueryResultsSize;
}
}
/**
* Sets the value of the checkQueryResultsSize property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setCheckQueryResultsSize(Boolean value) {
this.checkQueryResultsSize = value;
}
}