org.bidib.jbidibc.exchange.lcmacro.InputPortPoint 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.lcmacro;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
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;
/**
* This macro point represents an input port.
*
* Java class for InputPortPoint complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="InputPortPoint">
* <complexContent>
* <extension base="{http://www.bidib.org/jbidibc/lcmacro}LcMacroPointType">
* <sequence>
* <element name="delay" type="{http://www.bidib.org/jbidibc/lcmacro}MacroDelayType" minOccurs="0"/>
* <element name="InputPortActionType" type="{http://www.bidib.org/jbidibc/lcmacro}InputPortActionType"/>
* <element name="inputNumber" type="{http://www.bidib.org/jbidibc/lcmacro}OutputNumberType"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "InputPortPoint", propOrder = {
"delay",
"inputPortActionType",
"inputNumber"
})
public class InputPortPoint
extends LcMacroPointType
{
protected Integer delay;
@XmlElement(name = "InputPortActionType", required = true)
@XmlSchemaType(name = "string")
protected InputPortActionType inputPortActionType;
protected int inputNumber;
/**
* Gets the value of the delay property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getDelay() {
return delay;
}
/**
* Sets the value of the delay property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setDelay(Integer value) {
this.delay = value;
}
/**
* Gets the value of the inputPortActionType property.
*
* @return
* possible object is
* {@link InputPortActionType }
*
*/
public InputPortActionType getInputPortActionType() {
return inputPortActionType;
}
/**
* Sets the value of the inputPortActionType property.
*
* @param value
* allowed object is
* {@link InputPortActionType }
*
*/
public void setInputPortActionType(InputPortActionType value) {
this.inputPortActionType = value;
}
/**
* Gets the value of the inputNumber property.
*
*/
public int getInputNumber() {
return inputNumber;
}
/**
* Sets the value of the inputNumber property.
*
*/
public void setInputNumber(int value) {
this.inputNumber = 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 InputPortPoint withDelay(Integer value) {
setDelay(value);
return this;
}
public InputPortPoint withInputPortActionType(InputPortActionType value) {
setInputPortActionType(value);
return this;
}
public InputPortPoint withInputNumber(int value) {
setInputNumber(value);
return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy