@XmlElementWrapper(name="nodes") @XmlElement(name="node") public List<Long> getNodeIds() { final List<Long> nodeIds = new ArrayList<>(); if (m_rtcCategory != null) { for (final Node node : m_rtcCategory.getNode()) { nodeIds.add(node.getNodeid()); } } return nodeIds; }
@XmlElementWrapper(name="nodes") @XmlElement(name="node") public List<Long> getNodeIds() { final List<Long> nodeIds = new ArrayList<>(); if (m_rtcCategory != null) { for (final Node node : m_rtcCategory.getNode()) { nodeIds.add(node.getNodeid()); } } return nodeIds; }
public AvailabilityNode getNode(final Long nodeId) { if (m_rtcCategory != null) { for (final Node node : m_rtcCategory.getNode()) { if (node.getNodeid() == nodeId) { return new AvailabilityNode(node); } } } return null; }
public AvailabilityNode getNode(final Long nodeId) { if (m_rtcCategory != null) { for (final Node node : m_rtcCategory.getNode()) { if (node.getNodeid() == nodeId) { return new AvailabilityNode(node); } } } return null; }
public AvailabilityNode(final Node node) { m_nodeId = node.getNodeid(); m_availability = node.getNodevalue(); m_serviceCount = node.getNodesvccount(); m_serviceDownCount = node.getNodesvcdowncount(); }
public AvailabilityNode(final Node node) { m_nodeId = node.getNodeid(); m_availability = node.getNodevalue(); m_serviceCount = node.getNodesvccount(); m_serviceDownCount = node.getNodesvcdowncount(); }