settlement.setPopulation(populationValue);
} else if (subNode.getNodeName().equals("productionPoints")) {
int productionPointsValue = Integer.parseInt(subNode.getFirstChild().getNodeValue());
settlement.setProductionPoints(productionPointsValue);
} else if (subNode.getNodeName().equals("Coordinate")) {
Coordinate coordinate = new Coordinate();
(new CoordinateXMLWrapper(coordinate)).initializeFromNode(realm, subNode);
settlement.setCoordinate(coordinate);
} else if (subNode.getNodeName().equals("productionQueue")) {
for (Node queueItemNode = subNode.getFirstChild(); queueItemNode != null; queueItemNode = queueItemNode.getNextSibling()) {
if (queueItemNode.getNodeType() == Node.ELEMENT_NODE) {