// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference // Implementation, v2.2.8-b130911.1802 // 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: 2014.10.23 at 08:50:01 AM PDT // package org.openpnp.model.eagle.xml; 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.XmlElements; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = {"settings", "grid", "layers", "libraryOrSchematicOrBoard"}) @XmlRootElement(name = "drawing") public class Drawing { protected Settings settings; protected Grid grid; @XmlElement(required = true) protected Layers layers; @XmlElements({@XmlElement(name = "library", required = true, type = Library.class), @XmlElement(name = "schematic", required = true, type = Schematic.class), @XmlElement(name = "board", required = true, type = Board.class)}) protected List<Object> libraryOrSchematicOrBoard; /** * Gets the value of the settings property. * * @return possible object is {@link Settings } * */ public Settings getSettings() { return settings; } /** * Sets the value of the settings property. * * @param value allowed object is {@link Settings } * */ public void setSettings(Settings value) { this.settings = value; } /** * Gets the value of the grid property. * * @return possible object is {@link Grid } * */ public Grid getGrid() { return grid; } /** * Sets the value of the grid property. * * @param value allowed object is {@link Grid } * */ public void setGrid(Grid value) { this.grid = value; } /** * Gets the value of the layers property. * * @return possible object is {@link Layers } * */ public Layers getLayers() { return layers; } /** * Sets the value of the layers property. * * @param value allowed object is {@link Layers } * */ public void setLayers(Layers value) { this.layers = value; } /** * Gets the value of the libraryOrSchematicOrBoard property. * * <p> * 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 <CODE>set</CODE> method for the libraryOrSchematicOrBoard property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getLibraryOrSchematicOrBoard().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list {@link Library } {@link Schematic } * {@link Board } * * */ public List<Object> getLibraryOrSchematicOrBoard() { if (libraryOrSchematicOrBoard == null) { libraryOrSchematicOrBoard = new ArrayList<>(); } return this.libraryOrSchematicOrBoard; } }