/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2011 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2011 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(R) is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
* by the Free Software Foundation, either version 3 of the License,
* or (at your option) any later version.
*
* OpenNMS(R) 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with OpenNMS(R). If not, see:
* http://www.gnu.org/licenses/
*
* For more information contact:
* OpenNMS(R) Licensing <license@opennms.org>
* http://www.opennms.org/
* http://www.opennms.com/
*******************************************************************************/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-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: 2011.03.17 at 12:58:43 PM EDT
//
package org.opennms.xmlns.xsd.event;
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;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="idtext" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="specific" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="generic" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="community" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="time-stamp" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"id",
"idtext",
"version",
"specific",
"generic",
"community",
"timeStamp"
})
@XmlRootElement(name = "snmp")
public class Snmp {
@XmlElement(required = true)
protected String id;
protected String idtext;
@XmlElement(required = true)
protected String version;
protected Integer specific;
protected Integer generic;
protected String community;
@XmlElement(name = "time-stamp")
protected Long timeStamp;
/**
* 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 idtext property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIdtext() {
return idtext;
}
/**
* Sets the value of the idtext property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIdtext(String value) {
this.idtext = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersion(String value) {
this.version = value;
}
/**
* Gets the value of the specific property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getSpecific() {
return specific;
}
/**
* Sets the value of the specific property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setSpecific(Integer value) {
this.specific = value;
}
/**
* Gets the value of the generic property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getGeneric() {
return generic;
}
/**
* Sets the value of the generic property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setGeneric(Integer value) {
this.generic = value;
}
/**
* Gets the value of the community property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCommunity() {
return community;
}
/**
* Sets the value of the community property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCommunity(String value) {
this.community = value;
}
/**
* Gets the value of the timeStamp property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getTimeStamp() {
return timeStamp;
}
/**
* Sets the value of the timeStamp property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setTimeStamp(Long value) {
this.timeStamp = value;
}
}