| /******************************************************************************* |
| * 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.XmlRootElement; |
| import javax.xml.bind.annotation.XmlType; |
| |
| import org.eclipse.om2m.commons.constants.MgmtDefinitionTypes; |
| import org.eclipse.om2m.commons.constants.ShortName; |
| |
| /** |
| * <p> |
| * Java class for anonymous complex type. |
| * |
| * <p> |
| * The following schema fragment specifies the expected content contained within |
| * this class. |
| * |
| * <pre> |
| * <complexType> |
| * <complexContent> |
| * <extension base="{http://www.onem2m.org/xml/protocols}mgmtResource"> |
| * <sequence> |
| * <element name="logTypeId" type="{http://www.onem2m.org/xml/protocols}logTypeId"/> |
| * <element name="logData" type="{http://www.w3.org/2001/XMLSchema}string"/> |
| * <element name="logStatus" type="{http://www.onem2m.org/xml/protocols}logStatus"/> |
| * <element name="logStart" type="{http://www.w3.org/2001/XMLSchema}boolean"/> |
| * <element name="logStop" type="{http://www.w3.org/2001/XMLSchema}boolean"/> |
| * <choice minOccurs="0"> |
| * <element name="childResource" type="{http://www.onem2m.org/xml/protocols}childResourceRef" maxOccurs="unbounded"/> |
| * <element ref="{http://www.onem2m.org/xml/protocols}subscription" maxOccurs="unbounded"/> |
| * </choice> |
| * </sequence> |
| * </extension> |
| * </complexContent> |
| * </complexType> |
| * </pre> |
| * |
| * |
| */ |
| @XmlAccessorType(XmlAccessType.FIELD) |
| @XmlType(name = "") |
| @XmlRootElement(name = ShortName.EVENT_LOG) |
| public class EventLog extends MgmtObjWithChildren { |
| |
| @XmlElement(required = true) |
| protected BigInteger logTypeId; |
| @XmlElement(required = true) |
| protected String logData; |
| @XmlElement(required = true) |
| protected BigInteger logStatus; |
| protected boolean logStart; |
| protected boolean logStop; |
| |
| |
| public EventLog() { |
| super(); |
| setMgmtDefinition(MgmtDefinitionTypes.EVENT_LOG); |
| } |
| |
| /** |
| * Gets the value of the logTypeId property. |
| * |
| * @return possible object is {@link BigInteger } |
| * |
| */ |
| public BigInteger getLogTypeId() { |
| return logTypeId; |
| } |
| |
| /** |
| * Sets the value of the logTypeId property. |
| * |
| * @param value |
| * allowed object is {@link BigInteger } |
| * |
| */ |
| public void setLogTypeId(BigInteger value) { |
| this.logTypeId = value; |
| } |
| |
| /** |
| * Gets the value of the logData property. |
| * |
| * @return possible object is {@link String } |
| * |
| */ |
| public String getLogData() { |
| return logData; |
| } |
| |
| /** |
| * Sets the value of the logData property. |
| * |
| * @param value |
| * allowed object is {@link String } |
| * |
| */ |
| public void setLogData(String value) { |
| this.logData = value; |
| } |
| |
| /** |
| * Gets the value of the logStatus property. |
| * |
| * @return possible object is {@link BigInteger } |
| * |
| */ |
| public BigInteger getLogStatus() { |
| return logStatus; |
| } |
| |
| /** |
| * Sets the value of the logStatus property. |
| * |
| * @param value |
| * allowed object is {@link BigInteger } |
| * |
| */ |
| public void setLogStatus(BigInteger value) { |
| this.logStatus = value; |
| } |
| |
| /** |
| * Gets the value of the logStart property. |
| * |
| */ |
| public boolean isLogStart() { |
| return logStart; |
| } |
| |
| /** |
| * Sets the value of the logStart property. |
| * |
| */ |
| public void setLogStart(boolean value) { |
| this.logStart = value; |
| } |
| |
| /** |
| * Gets the value of the logStop property. |
| * |
| */ |
| public boolean isLogStop() { |
| return logStop; |
| } |
| |
| /** |
| * Sets the value of the logStop property. |
| * |
| */ |
| public void setLogStop(boolean value) { |
| this.logStop = value; |
| } |
| |
| } |