throw new LockException("Node " + getPath() + " is locked ");
}
session.getActionHandler().preRemoveMixin(this, name);
PropertyData propData =
(PropertyData)dataManager.getItemData(nodeData(), new QPathEntry(Constants.JCR_MIXINTYPES, 0),
ItemType.PROPERTY);
// create new property data with new values
TransientPropertyData prop =
new TransientPropertyData(propData.getQPath(), propData.getIdentifier(), propData.getPersistedVersion(),
propData.getType(), propData.getParentIdentifier(), propData.isMultiValued(), values);
NodeTypeDataManager ntmanager = session.getWorkspace().getNodeTypesHolder();
// remove mix:versionable stuff
if (ntmanager.isNodeType(Constants.MIX_VERSIONABLE, removedName))