Imported Upstream version 0.4.8
[platform/upstream/libsmi.git] / test / dumps / jax / UsrHistoryEntry.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: UsrHistoryEntry.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 usrHistoryEntry defined in RMON2-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 UsrHistoryEntry extends AgentXEntry
23 {
24
25     protected int usrHistorySampleIndex = 0;
26     protected long usrHistoryIntervalStart = 0;
27     protected long usrHistoryIntervalEnd = 0;
28     protected long usrHistoryAbsValue = 0;
29     protected int usrHistoryValStatus = 0;
30     // foreign indices
31     protected int usrHistoryControlIndex;
32     protected int usrHistoryObjectIndex;
33
34     public UsrHistoryEntry(int usrHistoryControlIndex,
35                            int usrHistorySampleIndex,
36                            int usrHistoryObjectIndex)
37     {
38         this.usrHistoryControlIndex = usrHistoryControlIndex;
39         this.usrHistorySampleIndex = usrHistorySampleIndex;
40         this.usrHistoryObjectIndex = usrHistoryObjectIndex;
41
42         instance.append(usrHistoryControlIndex);
43         instance.append(usrHistorySampleIndex);
44         instance.append(usrHistoryObjectIndex);
45     }
46
47     public int get_usrHistoryControlIndex()
48     {
49         return usrHistoryControlIndex;
50     }
51
52     public int get_usrHistorySampleIndex()
53     {
54         return usrHistorySampleIndex;
55     }
56
57     public int get_usrHistoryObjectIndex()
58     {
59         return usrHistoryObjectIndex;
60     }
61
62     public long get_usrHistoryIntervalStart()
63     {
64         return usrHistoryIntervalStart;
65     }
66
67     public long get_usrHistoryIntervalEnd()
68     {
69         return usrHistoryIntervalEnd;
70     }
71
72     public long get_usrHistoryAbsValue()
73     {
74         return usrHistoryAbsValue;
75     }
76
77     public int get_usrHistoryValStatus()
78     {
79         return usrHistoryValStatus;
80     }
81
82 }
83