/* * Decompiled with CFR 0.152. * * Could not load the following classes: * javax.baja.naming.SlotPath * javax.baja.sys.BComponent * javax.baja.sys.Property * javax.baja.sys.Sys * javax.baja.sys.Type */ package com.tridium.platform.ntp; import javax.baja.naming.SlotPath; import javax.baja.sys.BComponent; import javax.baja.sys.Property; import javax.baja.sys.Sys; import javax.baja.sys.Type; /* * Illegal identifiers - consider using --renameillegalidents true */ public class BNtpServer extends BComponent { public static final Property address = BNtpServer.newProperty((int)3, (String)"", null); public static final Type TYPE; static /* synthetic */ Class class$com$tridium$platform$ntp$BNtpServer; public String getAddress() { return this.getString(address); } public void setAddress(String string) { this.setString(address, string, null); } public Type getType() { return TYPE; } public String getServerString() { return this.getAddress(); } public void updateServerString(String string) { this.setAddress(string); } public String getPropertyName(String string) { return SlotPath.escape((String)string); } public BNtpServer makeServer(String string) { return new BNtpServer(string); } 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()); } } public BNtpServer() { } public BNtpServer(String string) { this.setAddress(string); } static { Class clazz = class$com$tridium$platform$ntp$BNtpServer; if (clazz == null) { clazz = class$com$tridium$platform$ntp$BNtpServer = BNtpServer.class("[Lcom.tridium.platform.ntp.BNtpServer;", false); } TYPE = Sys.loadType((Class)clazz); } }