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

org.bidib.jbidibc.exchange.dmxscenery.DmxSceneries Maven / Gradle / Ivy

There is a newer version: 2.0.29
Show newest version
//
// This file was generated by the Eclipse Implementation of JAXB, v2.3.3 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2023.09.13 at 07:33:35 PM CEST 
//


package org.bidib.jbidibc.exchange.dmxscenery;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * <p>Java class for anonymous complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element ref="{http://www.bidib.org/jbidibc/dmxscenery}dmxScenery" maxOccurs="unbounded" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "dmxScenery"
})
@XmlRootElement(name = "dmxSceneries")
public class DmxSceneries {

    protected List dmxScenery;

    /**
     * Gets the value of the dmxScenery 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 dmxScenery property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getDmxScenery().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link DmxSceneryType }
     * 
     * 
     */
    public List getDmxScenery() {
        if (dmxScenery == null) {
            dmxScenery = new ArrayList();
        }
        return this.dmxScenery;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
    }

    @Override
    public boolean equals(Object that) {
        return EqualsBuilder.reflectionEquals(this, that);
    }

    @Override
    public int hashCode() {
        return HashCodeBuilder.reflectionHashCode(this);
    }

    public DmxSceneries withDmxScenery(DmxSceneryType... values) {
        if (values!= null) {
            for (DmxSceneryType value: values) {
                getDmxScenery().add(value);
            }
        }
        return this;
    }

    public DmxSceneries withDmxScenery(Collection values) {
        if (values!= null) {
            getDmxScenery().addAll(values);
        }
        return this;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy