@Test public void testSetType() { SW_BDC.type(OTN); assertEquals("Incorrect type", OTN, SW_BDC.type()); }
public Device.Type type() { return get(TYPE, Device.Type.SWITCH, Device.Type.class); }
BasicDeviceConfig extends BasicElementConfig<DeviceId> { public Device.Type type() { return get(TYPE, Device.Type.SWITCH, Device.Type.class); } }
BasicDeviceConfig extends BasicElementConfig<DeviceId> { public Device.Type type() { return get(TYPE, Device.Type.SWITCH, Device.Type.class); }  }
BasicDeviceConfig extends BasicElementConfig<DeviceId> { public Device.Type type() { return get(TYPE, Device.Type.SWITCH, Device.Type.class); }  @Override boolean isValid(); Device.Type type(); BasicDeviceConfig type(Device.Type type); String driver(); BasicDeviceConfig driver(String driverName); String manufacturer(); BasicDeviceConfig manufacturer(String manufacturerName); String hwVersion(); BasicDeviceConfig hwVersion(String hwVersion); String swVersion(); BasicDeviceConfig swVersion(String swVersion); String serial(); BasicDeviceConfig serial(String serial); String managementAddress(); BasicDeviceConfig managementAddress(String managementAddress); DeviceKeyId deviceKeyId(); BasicDeviceConfig deviceKeyId(DeviceKeyId deviceKeyId); }
BasicDeviceConfig extends BasicElementConfig<DeviceId> { public Device.Type type() { return get(TYPE, Device.Type.SWITCH, Device.Type.class); }  @Override boolean isValid(); Device.Type type(); BasicDeviceConfig type(Device.Type type); String driver(); BasicDeviceConfig driver(String driverName); String manufacturer(); BasicDeviceConfig manufacturer(String manufacturerName); String hwVersion(); BasicDeviceConfig hwVersion(String hwVersion); String swVersion(); BasicDeviceConfig swVersion(String swVersion); String serial(); BasicDeviceConfig serial(String serial); String managementAddress(); BasicDeviceConfig managementAddress(String managementAddress); DeviceKeyId deviceKeyId(); BasicDeviceConfig deviceKeyId(DeviceKeyId deviceKeyId);  }