470471472473474475476477478479480
state.setMultiValued(true); state.setValues(InternalValue.create((Name[]) mixins.toArray(new Name[mixins.size()]))); } else { throw new NoSuchItemStateException(id.toString()); } bundle.addProperty(state); } return state; } /**
590591592593594595596597598599600
if (bundle == null) { throw new NoSuchItemStateException(nodeId.toString()); } modified.put(nodeId, bundle); } bundle.addProperty((PropertyState) state); } } // add removed properties for (ItemState state : changeLog.deletedStates()) { if (state.isNode()) {
640641642643644645646647648649650
if (bundle == null) { throw new NoSuchItemStateException(nodeId.toString()); } modified.put(nodeId, bundle); } bundle.addProperty((PropertyState) state); } } // now store all modified bundles for (NodePropBundle bundle : modified.values()) {
576577578579580581582583584585586
if (bundle == null) { throw new NoSuchItemStateException(nodeId.toString()); } modified.put(nodeId, bundle); } bundle.addProperty((PropertyState) state); } } // add removed properties iter = changeLog.deletedStates(); while (iter.hasNext()) {
630631632633634635636637638639640
if (bundle == null) { throw new NoSuchItemStateException(nodeId.toString()); } modified.put(nodeId, bundle); } bundle.addProperty((PropertyState) state); } } // now store all modified bundles iter = modified.values().iterator();