if ( propertyRecord == null )
{
propertyRecord = getPropertyStore().getRecord( propertyId );
addPropertyRecord( propertyRecord );
}
if ( !propertyRecord.inUse() )
{
throw new IllegalStateException( "Unable to change property[" +
propertyId + "] since it is deleted." );
}
propertyRecord.setNodeId( nodeId );