| /******************************************************************************* |
| * Copyright (c) 2013-2020 LAAS-CNRS (www.laas.fr) |
| * 7 Colonel Roche 31077 Toulouse - France |
| * |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License 2.0 |
| * which accompanies this distribution, and is available at |
| * https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * Initial Contributors: |
| * Thierry Monteil : Project manager, technical co-manager |
| * Mahdi Ben Alaya : Technical co-manager |
| * Samir Medjiah : Technical co-manager |
| * Khalil Drira : Strategy expert |
| * Guillaume Garzone : Developer |
| * François Aïssaoui : Developer |
| * |
| * New contributors : |
| *******************************************************************************/ |
| // |
| // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 |
| // 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: 2015.04.15 at 03:56:27 PM CEST |
| // |
| |
| package org.eclipse.om2m.commons.resource; |
| |
| import java.math.BigInteger; |
| |
| 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 javax.xml.datatype.Duration; |
| |
| import org.eclipse.om2m.commons.constants.ShortName; |
| |
| /** |
| * <p> |
| * Java class for rateLimit complex type. |
| * |
| * <p> |
| * The following schema fragment specifies the expected content contained within |
| * this class. |
| * |
| * <pre> |
| * <complexType name="rateLimit"> |
| * <complexContent> |
| * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
| * <sequence> |
| * <element name="maxNrOfNotify" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/> |
| * <element name="timeWindow" type="{http://www.w3.org/2001/XMLSchema}duration" minOccurs="0"/> |
| * </sequence> |
| * </restriction> |
| * </complexContent> |
| * </complexType> |
| * </pre> |
| * |
| * |
| */ |
| @XmlAccessorType(XmlAccessType.FIELD) |
| @XmlType(name = ShortName.RATE_LIMIT) |
| public class RateLimit { |
| |
| @XmlSchemaType(name = "nonNegativeInteger") |
| @XmlElement(name = ShortName.MAX_NR_OF_NOTIFY) |
| protected BigInteger maxNrOfNotify; |
| @XmlElement(name = ShortName.TIME_WINDOW) |
| protected Duration timeWindow; |
| |
| /** |
| * Gets the value of the maxNrOfNotify property. |
| * |
| * @return possible object is {@link BigInteger } |
| * |
| */ |
| public BigInteger getMaxNrOfNotify() { |
| return maxNrOfNotify; |
| } |
| |
| /** |
| * Sets the value of the maxNrOfNotify property. |
| * |
| * @param value |
| * allowed object is {@link BigInteger } |
| * |
| */ |
| public void setMaxNrOfNotify(BigInteger value) { |
| this.maxNrOfNotify = value; |
| } |
| |
| /** |
| * Gets the value of the timeWindow property. |
| * |
| * @return possible object is {@link Duration } |
| * |
| */ |
| public Duration getTimeWindow() { |
| return timeWindow; |
| } |
| |
| /** |
| * Sets the value of the timeWindow property. |
| * |
| * @param value |
| * allowed object is {@link Duration } |
| * |
| */ |
| public void setTimeWindow(Duration value) { |
| this.timeWindow = value; |
| } |
| |
| } |