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

org.apache.asterix.event.schema.yarnCluster.SubstituteNodes 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.event.schema.yarnCluster;

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="{yarn_cluster}node" maxOccurs="unbounded"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "node" }) @XmlRootElement(name = "substitute_nodes") public class SubstituteNodes implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(required = true) protected List node; /** * Default no-arg constructor * */ public SubstituteNodes() { super(); } /** * Fully-initialising value constructor * */ public SubstituteNodes(final List node) { this.node = node; } /** * Gets the value of the node 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 node property. * *

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

     *    getNode().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Node } * * */ public List getNode() { if (node == null) { node = new ArrayList(); } return this.node; } public void setNode(List value) { this.node = null; List draftl = this.getNode(); draftl.addAll(value); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy