private final PropertyState state;
static Property create(SessionContext<SessionImpl> sessionContext, Path path) throws PathNotFoundException,
ItemNotFoundException {
TransientNodeState parentState = getNodeState(sessionContext, path.getParent());
if (parentState == null) {
throw new PathNotFoundException(path.toJcrPath());
}
String name = path.getName();
PropertyState state = parentState.getPropertyState(name);
return new PropertyImpl(sessionContext, parentState, state);
}