private static Collection<IGear> createGears(ModelNode gearsNode) {
List<IGear> gears = new ArrayList<IGear>();
for (ModelNode gearNode : gearsNode.asList()) {
gears.add(
new Gear(
getAsString(gearNode, PROPERTY_ID),
GearState.safeValueOf(getAsString(gearNode, PROPERTY_GEAR_STATE))));
}
return gears;
}