/* * Decompiled with CFR 0.152. * * Could not load the following classes: * javax.baja.sys.BComponent * javax.baja.sys.BComponentEvent * javax.baja.sys.BIcon * javax.baja.sys.BValue * javax.baja.sys.BVector * javax.baja.sys.Property * javax.baja.sys.Subscriber * javax.baja.sys.Sys * javax.baja.sys.Type */ package com.tridium.platform.tcpip; import com.tridium.platform.tcpip.BTcpIpHostSettings; import javax.baja.sys.BComponent; import javax.baja.sys.BComponentEvent; import javax.baja.sys.BIcon; import javax.baja.sys.BValue; import javax.baja.sys.BVector; import javax.baja.sys.Property; import javax.baja.sys.Subscriber; import javax.baja.sys.Sys; import javax.baja.sys.Type; /* * Illegal identifiers - consider using --renameillegalidents true */ public class BTcpIpAdapterSettings extends BComponent { public static final Property adapterId = BTcpIpAdapterSettings.newProperty((int)3, (String)"", null); public static final Property isAdapterEnabled = BTcpIpAdapterSettings.newProperty((int)3, (boolean)true, null); public static final Property canDisableAdapter = BTcpIpAdapterSettings.newProperty((int)3, (boolean)false, null); public static final Property description = BTcpIpAdapterSettings.newProperty((int)3, (String)"", null); public static final Property mediaAccessControlAddress = BTcpIpAdapterSettings.newProperty((int)3, (String)"", null); public static final Property isDhcpEnabled = BTcpIpAdapterSettings.newProperty((int)3, (boolean)true, null); public static final Property canUseDhcp = BTcpIpAdapterSettings.newProperty((int)3, (boolean)true, null); public static final Property defaultGateway = BTcpIpAdapterSettings.newProperty((int)3, (String)"", null); public static final Property dnsHosts = BTcpIpAdapterSettings.newProperty((int)3, (BValue)new BVector(), null); public static final Property maxDnsHosts = BTcpIpAdapterSettings.newProperty((int)6, (int)2, null); public static final Property domain = BTcpIpAdapterSettings.newProperty((int)3, (String)"", null); public static final Property ipAddress = BTcpIpAdapterSettings.newProperty((int)3, (String)"", null); public static final Property subnetMask = BTcpIpAdapterSettings.newProperty((int)3, (String)"", null); public static final Property dhcpHost = BTcpIpAdapterSettings.newProperty((int)3, (String)"n/a", null); public static final Property dhcpLeaseGranted = BTcpIpAdapterSettings.newProperty((int)3, (String)"n/a", null); public static final Property dhcpLeaseExpires = BTcpIpAdapterSettings.newProperty((int)3, (String)"n/a", null); public static final Property isIpv6DhcpEnabled = BTcpIpAdapterSettings.newProperty((int)3, (boolean)true, null); public static final Property canUseIpv6Dhcp = BTcpIpAdapterSettings.newProperty((int)3, (boolean)true, null); public static final Property isIpv6Supported = BTcpIpAdapterSettings.newProperty((int)3, (boolean)false, null); public static final Property isIpv6Enabled = BTcpIpAdapterSettings.newProperty((int)3, (boolean)false, null); public static final Property canDisableIpv6 = BTcpIpAdapterSettings.newProperty((int)3, (boolean)false, null); public static final Property ipv6Address = BTcpIpAdapterSettings.newProperty((int)3, (String)"", null); public static final Property ipv6SubnetPrefixLength = BTcpIpAdapterSettings.newProperty((int)3, (int)0, null); public static final Property ipv6DefaultGateway = BTcpIpAdapterSettings.newProperty((int)3, (String)"", null); public static final Property ipv6DefaultDevice = BTcpIpAdapterSettings.newProperty((int)3, (String)"", null); public static final Property ipv6DnsHosts = BTcpIpAdapterSettings.newProperty((int)3, (BValue)new BVector(), null); public static final Property ipv6DhcpHost = BTcpIpAdapterSettings.newProperty((int)3, (String)"n/a", null); public static final Property ipv6DhcpLeaseGranted = BTcpIpAdapterSettings.newProperty((int)3, (String)"n/a", null); public static final Property ipv6DhcpLeaseExpires = BTcpIpAdapterSettings.newProperty((int)3, (String)"n/a", null); public static final Type TYPE; private static final BIcon icon; private Subscriber subscriber; static /* synthetic */ Class class$com$tridium$platform$tcpip$BTcpIpAdapterSettings; public String getAdapterId() { return this.getString(adapterId); } public void setAdapterId(String string) { this.setString(adapterId, string, null); } public boolean getIsAdapterEnabled() { return this.getBoolean(isAdapterEnabled); } public void setIsAdapterEnabled(boolean bl) { this.setBoolean(isAdapterEnabled, bl, null); } public boolean getCanDisableAdapter() { return this.getBoolean(canDisableAdapter); } public void setCanDisableAdapter(boolean bl) { this.setBoolean(canDisableAdapter, bl, null); } public String getDescription() { return this.getString(description); } public void setDescription(String string) { this.setString(description, string, null); } public String getMediaAccessControlAddress() { return this.getString(mediaAccessControlAddress); } public void setMediaAccessControlAddress(String string) { this.setString(mediaAccessControlAddress, string, null); } public boolean getIsDhcpEnabled() { return this.getBoolean(isDhcpEnabled); } public void setIsDhcpEnabled(boolean bl) { this.setBoolean(isDhcpEnabled, bl, null); } public boolean getCanUseDhcp() { return this.getBoolean(canUseDhcp); } public void setCanUseDhcp(boolean bl) { this.setBoolean(canUseDhcp, bl, null); } public String getDefaultGateway() { return this.getString(defaultGateway); } public void setDefaultGateway(String string) { this.setString(defaultGateway, string, null); } public BVector getDnsHosts() { return (BVector)this.get(dnsHosts); } public void setDnsHosts(BVector bVector) { this.set(dnsHosts, (BValue)bVector, null); } public int getMaxDnsHosts() { return this.getInt(maxDnsHosts); } public void setMaxDnsHosts(int n) { this.setInt(maxDnsHosts, n, null); } public String getDomain() { return this.getString(domain); } public void setDomain(String string) { this.setString(domain, string, null); } public String getIpAddress() { return this.getString(ipAddress); } public void setIpAddress(String string) { this.setString(ipAddress, string, null); } public String getSubnetMask() { return this.getString(subnetMask); } public void setSubnetMask(String string) { this.setString(subnetMask, string, null); } public String getDhcpHost() { return this.getString(dhcpHost); } public void setDhcpHost(String string) { this.setString(dhcpHost, string, null); } public String getDhcpLeaseGranted() { return this.getString(dhcpLeaseGranted); } public void setDhcpLeaseGranted(String string) { this.setString(dhcpLeaseGranted, string, null); } public String getDhcpLeaseExpires() { return this.getString(dhcpLeaseExpires); } public void setDhcpLeaseExpires(String string) { this.setString(dhcpLeaseExpires, string, null); } public boolean getIsIpv6DhcpEnabled() { return this.getBoolean(isIpv6DhcpEnabled); } public void setIsIpv6DhcpEnabled(boolean bl) { this.setBoolean(isIpv6DhcpEnabled, bl, null); } public boolean getCanUseIpv6Dhcp() { return this.getBoolean(canUseIpv6Dhcp); } public void setCanUseIpv6Dhcp(boolean bl) { this.setBoolean(canUseIpv6Dhcp, bl, null); } public boolean getIsIpv6Supported() { return this.getBoolean(isIpv6Supported); } public void setIsIpv6Supported(boolean bl) { this.setBoolean(isIpv6Supported, bl, null); } public boolean getIsIpv6Enabled() { return this.getBoolean(isIpv6Enabled); } public void setIsIpv6Enabled(boolean bl) { this.setBoolean(isIpv6Enabled, bl, null); } public boolean getCanDisableIpv6() { return this.getBoolean(canDisableIpv6); } public void setCanDisableIpv6(boolean bl) { this.setBoolean(canDisableIpv6, bl, null); } public String getIpv6Address() { return this.getString(ipv6Address); } public void setIpv6Address(String string) { this.setString(ipv6Address, string, null); } public int getIpv6SubnetPrefixLength() { return this.getInt(ipv6SubnetPrefixLength); } public void setIpv6SubnetPrefixLength(int n) { this.setInt(ipv6SubnetPrefixLength, n, null); } public String getIpv6DefaultGateway() { return this.getString(ipv6DefaultGateway); } public void setIpv6DefaultGateway(String string) { this.setString(ipv6DefaultGateway, string, null); } public String getIpv6DefaultDevice() { return this.getString(ipv6DefaultDevice); } public void setIpv6DefaultDevice(String string) { this.setString(ipv6DefaultDevice, string, null); } public BVector getIpv6DnsHosts() { return (BVector)this.get(ipv6DnsHosts); } public void setIpv6DnsHosts(BVector bVector) { this.set(ipv6DnsHosts, (BValue)bVector, null); } public String getIpv6DhcpHost() { return this.getString(ipv6DhcpHost); } public void setIpv6DhcpHost(String string) { this.setString(ipv6DhcpHost, string, null); } public String getIpv6DhcpLeaseGranted() { return this.getString(ipv6DhcpLeaseGranted); } public void setIpv6DhcpLeaseGranted(String string) { this.setString(ipv6DhcpLeaseGranted, string, null); } public String getIpv6DhcpLeaseExpires() { return this.getString(ipv6DhcpLeaseExpires); } public void setIpv6DhcpLeaseExpires(String string) { this.setString(ipv6DhcpLeaseExpires, string, null); } public Type getType() { return TYPE; } public BTcpIpHostSettings getHostSettings() { return (BTcpIpHostSettings)this.getParent().getParent(); } public boolean getUsesAdapterLevelSettings() { return this.getHostSettings().getUsesAdapterLevelSettings(); } public void subscribed() { this.subscriber.subscribe((BComponent)this.getHostSettings()); } public void unsubscribed() { this.subscriber.unsubscribe((BComponent)this.getHostSettings()); } public BIcon getIcon() { return icon; } static /* synthetic */ Class class(String string, boolean bl) { try { Class clazz = Class.forName(string); if (!bl) { clazz = clazz.getComponentType(); } return clazz; } catch (ClassNotFoundException classNotFoundException) { throw new NoClassDefFoundError(classNotFoundException.getMessage()); } } private final /* synthetic */ void this() { this.subscriber = new Subscriber(){ public final void event(BComponentEvent bComponentEvent) { } }; } public BTcpIpAdapterSettings() { this.this(); } public BTcpIpAdapterSettings(String string) { this.this(); this.setAdapterId(string); } static { Class clazz = class$com$tridium$platform$tcpip$BTcpIpAdapterSettings; if (clazz == null) { clazz = class$com$tridium$platform$tcpip$BTcpIpAdapterSettings = BTcpIpAdapterSettings.class("[Lcom.tridium.platform.tcpip.BTcpIpAdapterSettings;", false); } TYPE = Sys.loadType((Class)clazz); icon = BIcon.std((String)"deviceNetwork.png"); } }