net.sf.snmpadaptor4j.config.jaxb
Class Daemon

java.lang.Object
  extended by net.sf.snmpadaptor4j.config.jaxb.Daemon

public class Daemon
extends Object

Java class for Daemon complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Daemon">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="readCommunity" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="writeCommunity" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
       <attribute name="address" type="{http://www.w3.org/2001/XMLSchema}string" default="127.0.0.1" />
       <attribute name="port" type="{http://www.w3.org/2001/XMLSchema}int" default="161" />
       <attribute name="version" default="2">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}int">
             <minInclusive value="1"/>
             <maxInclusive value="2"/>
           </restriction>
         </simpleType>
       </attribute>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String address
           
protected  Integer port
           
protected  String readCommunity
           
protected  Integer version
           
protected  String writeCommunity
           
 
Constructor Summary
Daemon()
           
 
Method Summary
 String getAddress()
          Gets the value of the address property.
 int getPort()
          Gets the value of the port property.
 String getReadCommunity()
          Gets the value of the readCommunity property.
 int getVersion()
          Gets the value of the version property.
 String getWriteCommunity()
          Gets the value of the writeCommunity property.
 void setAddress(String value)
          Sets the value of the address property.
 void setPort(Integer value)
          Sets the value of the port property.
 void setReadCommunity(String value)
          Sets the value of the readCommunity property.
 void setVersion(Integer value)
          Sets the value of the version property.
 void setWriteCommunity(String value)
          Sets the value of the writeCommunity property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

readCommunity

protected String readCommunity

writeCommunity

protected String writeCommunity

address

protected String address

port

protected Integer port

version

protected Integer version
Constructor Detail

Daemon

public Daemon()
Method Detail

getReadCommunity

public String getReadCommunity()
Gets the value of the readCommunity property.

Returns:
possible object is String

setReadCommunity

public void setReadCommunity(String value)
Sets the value of the readCommunity property.

Parameters:
value - allowed object is String

getWriteCommunity

public String getWriteCommunity()
Gets the value of the writeCommunity property.

Returns:
possible object is String

setWriteCommunity

public void setWriteCommunity(String value)
Sets the value of the writeCommunity property.

Parameters:
value - allowed object is String

getAddress

public String getAddress()
Gets the value of the address property.

Returns:
possible object is String

setAddress

public void setAddress(String value)
Sets the value of the address property.

Parameters:
value - allowed object is String

getPort

public int getPort()
Gets the value of the port property.

Returns:
possible object is Integer

setPort

public void setPort(Integer value)
Sets the value of the port property.

Parameters:
value - allowed object is Integer

getVersion

public int getVersion()
Gets the value of the version property.

Returns:
possible object is Integer

setVersion

public void setVersion(Integer value)
Sets the value of the version property.

Parameters:
value - allowed object is Integer


Copyright © 2012-2013 snmpAdaptor4j. All Rights Reserved.