public DmxChannelsType withChannel(DmxChannelParamsType... values) { if (values!= null) { for (DmxChannelParamsType value: values) { getChannel().add(value); } } return this; }
/** * Create an instance of {@link DmxChannelsType } * */ public DmxChannelsType createDmxChannelsType() { return new DmxChannelsType(); }
public DmxChannelsType withCount(Integer value) { setCount(value); return this; }
Assert.assertEquals(node.getDmxChannels().getCount().intValue(), 64); Assert.assertNotNull(node.getDmxChannels().getChannel()); Assert.assertEquals(node.getDmxChannels().getChannel().size(), 2);
public DmxChannelsType withChannel(Collection<DmxChannelParamsType> values) { if (values!= null) { getChannel().addAll(values); } return this; }