Leaf leafWithUnit = new Leaf();
leafWithUnit.setName("Amount of Pixel");
leafWithUnit.changeScale(new PositiveIntegerScale());
leafWithUnit.getScale().setUnit("px");
childNode.addChild(leafWithUnit);
Leaf ordinalLeaf = new Leaf();
ordinalLeaf.setName("Karma");
OrdinalScale ordinalScale = new OrdinalScale();
ordinalScale.setRestriction("Good/Bad/Evil");