All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.asterix.common.configuration.AsterixConfiguration Maven / Gradle / Ivy

There is a newer version: 0.9.9
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2016.02.10 at 03:27:57 PM PST 
//


package org.apache.asterix.common.configuration;

import java.io.Serializable;
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.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

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 ref="{asterixconf}instanceName" minOccurs="0"/>
 *         <element ref="{asterixconf}version" minOccurs="0"/>
 *         <element ref="{asterixconf}metadataNode" minOccurs="0"/>
 *         <element ref="{asterixconf}store" maxOccurs="unbounded"/>
 *         <element ref="{asterixconf}coredump" maxOccurs="unbounded"/>
 *         <element ref="{asterixconf}transactionLogDir" maxOccurs="unbounded"/>
 *         <element ref="{asterixconf}property" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "instanceName", "version", "metadataNode", "store", "coredump", "transactionLogDir", "property" }) @XmlRootElement(name = "asterixConfiguration") public class AsterixConfiguration implements Serializable { private final static long serialVersionUID = 1L; protected String instanceName; protected String version; protected String metadataNode; @XmlElement(required = true) protected List store; @XmlElement(required = true) protected List coredump; @XmlElement(required = true) protected List transactionLogDir; protected List property; /** * Default no-arg constructor * */ public AsterixConfiguration() { super(); } /** * Fully-initialising value constructor * */ public AsterixConfiguration(final String instanceName, final String version, final String metadataNode, final List store, final List coredump, final List transactionLogDir, final List property) { this.instanceName = instanceName; this.version = version; this.metadataNode = metadataNode; this.store = store; this.coredump = coredump; this.transactionLogDir = transactionLogDir; this.property = property; } /** * Gets the value of the instanceName property. * * @return * possible object is * {@link String } * */ public String getInstanceName() { return instanceName; } /** * Sets the value of the instanceName property. * * @param value * allowed object is * {@link String } * */ public void setInstanceName(String value) { this.instanceName = value; } /** * Gets the value of the version property. * * @return * possible object is * {@link String } * */ public String getVersion() { return version; } /** * Sets the value of the version property. * * @param value * allowed object is * {@link String } * */ public void setVersion(String value) { this.version = value; } /** * Gets the value of the metadataNode property. * * @return * possible object is * {@link String } * */ public String getMetadataNode() { return metadataNode; } /** * Sets the value of the metadataNode property. * * @param value * allowed object is * {@link String } * */ public void setMetadataNode(String value) { this.metadataNode = value; } /** * Gets the value of the store 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 store property. * *

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

     *    getStore().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Store } * * */ public List getStore() { if (store == null) { store = new ArrayList(); } return this.store; } /** * Gets the value of the coredump 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 coredump property. * *

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

     *    getCoredump().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Coredump } * * */ public List getCoredump() { if (coredump == null) { coredump = new ArrayList(); } return this.coredump; } /** * Gets the value of the transactionLogDir 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 transactionLogDir property. * *

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

     *    getTransactionLogDir().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TransactionLogDir } * * */ public List getTransactionLogDir() { if (transactionLogDir == null) { transactionLogDir = new ArrayList(); } return this.transactionLogDir; } /** * Gets the value of the property 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 property property. * *

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

     *    getProperty().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Property } * * */ public List getProperty() { if (property == null) { property = new ArrayList(); } return this.property; } public void setStore(List value) { this.store = null; List draftl = this.getStore(); draftl.addAll(value); } public void setCoredump(List value) { this.coredump = null; List draftl = this.getCoredump(); draftl.addAll(value); } public void setTransactionLogDir(List value) { this.transactionLogDir = null; List draftl = this.getTransactionLogDir(); draftl.addAll(value); } public void setProperty(List value) { this.property = null; List draftl = this.getProperty(); draftl.addAll(value); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy