KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ist > coach > coachEmfServicesComponents > SnmpAdapterProviderComposition > SnmpObjectData


1 package ist.coach.coachEmfServicesComponents.SnmpAdapterProviderComposition;
2
3 import org.omg.CORBA.Any JavaDoc;
4 import org.omg.CosNaming.NameComponent JavaDoc;
5
6 public class SnmpObjectData {
7
8   private NameComponent JavaDoc[] name;
9   private String JavaDoc IPAddress;
10   private Any JavaDoc value;
11
12   public SnmpObjectData(NameComponent JavaDoc[] name, String JavaDoc IPAddress, Any JavaDoc value) {
13             this.name = name;
14             this.IPAddress = IPAddress;
15             this.value = value;
16   }
17
18   public SnmpObjectData (NameComponent JavaDoc[] name, String JavaDoc IPAddress) {
19             this.name = name;
20             this.IPAddress = IPAddress;
21             this.value = null;
22   }
23
24   public NameComponent JavaDoc[] getName() {
25             return this.name;
26   }
27
28   public String JavaDoc getIPAddress() {
29         return this.IPAddress;
30   }
31
32   public Any JavaDoc getValue() {
33     return value;
34   }
35 }
36
Popular Tags