org.bidib.jbidibc.exchange.firmware.DeviceNode Maven / Gradle / Ivy
//
// 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.firmware;
import java.util.Collection;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
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 DeviceNode complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="DeviceNode">
* <complexContent>
* <extension base="{http://www.bidib.org/schema/firmware}NodeType">
* <sequence>
* <element name="CvFilename" type="{http://www.bidib.org/schema/firmware}CvFileNameType" minOccurs="0"/>
* <element name="DefaultLabels" type="{http://www.bidib.org/schema/firmware}DefaultLabelsType" minOccurs="0"/>
* <element name="NodeImages" type="{http://www.bidib.org/schema/firmware}NodeImagesType" minOccurs="0"/>
* </sequence>
* <attribute name="VID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="EVID" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="PID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="IsUpdate" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DeviceNode", propOrder = {
"cvFilename",
"defaultLabels",
"nodeImages"
})
public class DeviceNode
extends NodeType
{
@XmlElement(name = "CvFilename")
protected CvFileNameType cvFilename;
@XmlElement(name = "DefaultLabels")
protected DefaultLabelsType defaultLabels;
@XmlElement(name = "NodeImages")
protected NodeImagesType nodeImages;
@XmlAttribute(name = "VID", required = true)
protected String vid;
@XmlAttribute(name = "EVID")
protected String evid;
@XmlAttribute(name = "PID", required = true)
protected String pid;
@XmlAttribute(name = "IsUpdate")
protected Boolean isUpdate;
/**
* Gets the value of the cvFilename property.
*
* @return
* possible object is
* {@link CvFileNameType }
*
*/
public CvFileNameType getCvFilename() {
return cvFilename;
}
/**
* Sets the value of the cvFilename property.
*
* @param value
* allowed object is
* {@link CvFileNameType }
*
*/
public void setCvFilename(CvFileNameType value) {
this.cvFilename = value;
}
/**
* Gets the value of the defaultLabels property.
*
* @return
* possible object is
* {@link DefaultLabelsType }
*
*/
public DefaultLabelsType getDefaultLabels() {
return defaultLabels;
}
/**
* Sets the value of the defaultLabels property.
*
* @param value
* allowed object is
* {@link DefaultLabelsType }
*
*/
public void setDefaultLabels(DefaultLabelsType value) {
this.defaultLabels = value;
}
/**
* Gets the value of the nodeImages property.
*
* @return
* possible object is
* {@link NodeImagesType }
*
*/
public NodeImagesType getNodeImages() {
return nodeImages;
}
/**
* Sets the value of the nodeImages property.
*
* @param value
* allowed object is
* {@link NodeImagesType }
*
*/
public void setNodeImages(NodeImagesType value) {
this.nodeImages = value;
}
/**
* Gets the value of the vid property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVID() {
return vid;
}
/**
* Sets the value of the vid property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVID(String value) {
this.vid = value;
}
/**
* Gets the value of the evid property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEVID() {
return evid;
}
/**
* Sets the value of the evid property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEVID(String value) {
this.evid = value;
}
/**
* Gets the value of the pid property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPID() {
return pid;
}
/**
* Sets the value of the pid property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPID(String value) {
this.pid = value;
}
/**
* Gets the value of the isUpdate property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isIsUpdate() {
if (isUpdate == null) {
return false;
} else {
return isUpdate;
}
}
/**
* Sets the value of the isUpdate property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIsUpdate(Boolean value) {
this.isUpdate = 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 DeviceNode withCvFilename(CvFileNameType value) {
setCvFilename(value);
return this;
}
public DeviceNode withDefaultLabels(DefaultLabelsType value) {
setDefaultLabels(value);
return this;
}
public DeviceNode withNodeImages(NodeImagesType value) {
setNodeImages(value);
return this;
}
public DeviceNode withVID(String value) {
setVID(value);
return this;
}
public DeviceNode withEVID(String value) {
setEVID(value);
return this;
}
public DeviceNode withPID(String value) {
setPID(value);
return this;
}
public DeviceNode withIsUpdate(Boolean value) {
setIsUpdate(value);
return this;
}
@Override
public DeviceNode withNodetext(NodeTextType... values) {
if (values!= null) {
for (NodeTextType value: values) {
getNodetext().add(value);
}
}
return this;
}
@Override
public DeviceNode withNodetext(Collection values) {
if (values!= null) {
getNodetext().addAll(values);
}
return this;
}
@Override
public DeviceNode withNode(NodeType... values) {
if (values!= null) {
for (NodeType value: values) {
getNode().add(value);
}
}
return this;
}
@Override
public DeviceNode withNode(Collection values) {
if (values!= null) {
getNode().addAll(values);
}
return this;
}
@Override
public DeviceNode withComment(String value) {
setComment(value);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy