Imported Upstream version 0.4.8
[platform/upstream/libsmi.git] / test / dumps / jax / SysOREntry.java
1 /*
2  * This Java file has been generated by smidump 0.4.5. Do not edit!
3  * It is intended to be used within a Java AgentX sub-agent environment.
4  *
5  * $Id: SysOREntry.java 4432 2006-05-29 16:21:11Z strauss $
6  */
7
8 /**
9     This class represents a Java AgentX (JAX) implementation of
10     the table row sysOREntry defined in SNMPv2-MIB.
11
12     @version 1
13     @author  smidump 0.4.5
14     @see     AgentXTable, AgentXEntry
15  */
16
17 import jax.AgentXOID;
18 import jax.AgentXSetPhase;
19 import jax.AgentXResponsePDU;
20 import jax.AgentXEntry;
21
22 public class SysOREntry extends AgentXEntry
23 {
24
25     protected int sysORIndex = 0;
26     protected AgentXOID sysORID = new AgentXOID();
27     protected byte[] sysORDescr = new byte[0];
28     protected long sysORUpTime = 0;
29
30     public SysOREntry(int sysORIndex)
31     {
32         this.sysORIndex = sysORIndex;
33
34         instance.append(sysORIndex);
35     }
36
37     public int get_sysORIndex()
38     {
39         return sysORIndex;
40     }
41
42     public AgentXOID get_sysORID()
43     {
44         return sysORID;
45     }
46
47     public byte[] get_sysORDescr()
48     {
49         return sysORDescr;
50     }
51
52     public long get_sysORUpTime()
53     {
54         return sysORUpTime;
55     }
56
57 }
58