📄 acknack.java
字号:
/*
* Copyright (C) 2007 ETH Zurich
*
* This file is part of Fosstrak (www.fosstrak.org).
*
* Fosstrak is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1, as published by the Free Software Foundation.
*
* Fosstrak is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with Fosstrak; if not, write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b26-ea3
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2006.07.05 at 04:25:04 PM CEST
//
package org.fosstrak.reader.rprm.core.msg.notification;
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.fosstrak.reader.rprm.core.msg.notification.AckNack;
import org.fosstrak.reader.rprm.core.msg.notification.Document;
import org.fosstrak.reader.rprm.core.msg.notification.ReaderType;
/**
* This element defines a reader protocol notification [reply] ACK/NACK. It is used when ACK/NACK is enabled for a notification channel and underlying transport doesn't support ACK.
*
* <p>Java class for ackNack element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <element name="ackNack">
* <complexType>
* <complexContent>
* <extension base="{urn:epcglobal:xsd:1}Document">
* <sequence>
* <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="reader" type="{urn:epcglobal:rp:xsd:1}ReaderType" minOccurs="0"/>
* <element name="notifyChannelName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="isAck" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
* </element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"id",
"reader",
"notifyChannelName",
"isAck"
})
@XmlRootElement(name = "ackNack")
public class AckNack
extends Document
{
protected String id;
protected ReaderType reader;
protected String notifyChannelName;
@XmlElement(type = Boolean.class, defaultValue = "true")
protected boolean isAck;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the reader property.
*
* @return
* possible object is
* {@link ReaderType }
*
*/
public ReaderType getReader() {
return reader;
}
/**
* Sets the value of the reader property.
*
* @param value
* allowed object is
* {@link ReaderType }
*
*/
public void setReader(ReaderType value) {
this.reader = value;
}
/**
* Gets the value of the notifyChannelName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNotifyChannelName() {
return notifyChannelName;
}
/**
* Sets the value of the notifyChannelName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNotifyChannelName(String value) {
this.notifyChannelName = value;
}
/**
* Gets the value of the isAck property.
*
*/
public boolean isIsAck() {
return isAck;
}
/**
* Sets the value of the isAck property.
*
*/
public void setIsAck(boolean value) {
this.isAck = value;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -