The union representing prison officers has said it has been told to expect Dartmoor Prison to remain closed for three years.