org.bidib.jbidibc.exchange.firmware.Firmware Maven / Gradle / Ivy
The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v2.3.8
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.12.16 at 01:05:47 PM CET
//
package org.bidib.jbidibc.exchange.firmware;
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;
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;
/**
* 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 name="Version" type="{http://www.bidib.org/schema/firmware}VersionInfoType"/>
* <element name="FirmwareDefinition" type="{http://www.bidib.org/schema/firmware}FirmwareDefinitionType" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"version",
"firmwareDefinition"
})
@XmlRootElement(name = "Firmware")
public class Firmware {
@XmlElement(name = "Version", required = true)
protected VersionInfoType version;
@XmlElement(name = "FirmwareDefinition")
protected FirmwareDefinitionType firmwareDefinition;
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link VersionInfoType }
*
*/
public VersionInfoType getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link VersionInfoType }
*
*/
public void setVersion(VersionInfoType value) {
this.version = value;
}
/**
* Gets the value of the firmwareDefinition property.
*
* @return
* possible object is
* {@link FirmwareDefinitionType }
*
*/
public FirmwareDefinitionType getFirmwareDefinition() {
return firmwareDefinition;
}
/**
* Sets the value of the firmwareDefinition property.
*
* @param value
* allowed object is
* {@link FirmwareDefinitionType }
*
*/
public void setFirmwareDefinition(FirmwareDefinitionType value) {
this.firmwareDefinition = 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 Firmware withVersion(VersionInfoType value) {
setVersion(value);
return this;
}
public Firmware withFirmwareDefinition(FirmwareDefinitionType value) {
setFirmwareDefinition(value);
return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy