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