org.bidib.jbidibc.exchange.firmware.DeviceNode Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.06.16 at 01:36:53 PM MESZ
//
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.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
/**
* Java class for DeviceNode complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DeviceNode">
* <complexContent>
* <extension base="{http://www.bidib.org/schema/firmware}NodeType">
* <sequence>
* <element name="CvFilename" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* <attribute name="VID" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="PID" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DeviceNode", propOrder = {
"cvFilename"
})
public class DeviceNode
extends NodeType
{
@XmlElement(name = "CvFilename")
protected String cvFilename;
@XmlAttribute(name = "VID")
protected String vid;
@XmlAttribute(name = "PID")
protected String pid;
/**
* Gets the value of the cvFilename property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCvFilename() {
return cvFilename;
}
/**
* Sets the value of the cvFilename property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCvFilename(String value) {
this.cvFilename = 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 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;
}
@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(String value) {
setCvFilename(value);
return this;
}
public DeviceNode withVID(String value) {
setVID(value);
return this;
}
public DeviceNode withPID(String value) {
setPID(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