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

org.bidib.jbidibc.exchange.lcmacro.LcAccessorySwitchTime 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.lcmacro;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
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 LcAccessorySwitchTime complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="LcAccessorySwitchTime"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;attribute name="switchTime" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
 *       &lt;attribute name="timeBaseUnit" use="required" type="{http://www.bidib.org/jbidibc/lcmacro}TimeBaseUnitType" /&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "LcAccessorySwitchTime")
public class LcAccessorySwitchTime {

    @XmlAttribute(name = "switchTime", required = true)
    protected int switchTime;
    @XmlAttribute(name = "timeBaseUnit", required = true)
    protected TimeBaseUnitType timeBaseUnit;

    /**
     * Gets the value of the switchTime property.
     * 
     */
    public int getSwitchTime() {
        return switchTime;
    }

    /**
     * Sets the value of the switchTime property.
     * 
     */
    public void setSwitchTime(int value) {
        this.switchTime = value;
    }

    /**
     * Gets the value of the timeBaseUnit property.
     * 
     * @return
     *     possible object is
     *     {@link TimeBaseUnitType }
     *     
     */
    public TimeBaseUnitType getTimeBaseUnit() {
        return timeBaseUnit;
    }

    /**
     * Sets the value of the timeBaseUnit property.
     * 
     * @param value
     *     allowed object is
     *     {@link TimeBaseUnitType }
     *     
     */
    public void setTimeBaseUnit(TimeBaseUnitType value) {
        this.timeBaseUnit = value;
    }

    @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 LcAccessorySwitchTime withSwitchTime(int value) {
        setSwitchTime(value);
        return this;
    }

    public LcAccessorySwitchTime withTimeBaseUnit(TimeBaseUnitType value) {
        setTimeBaseUnit(value);
        return this;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy